org.alfresco.repo.content.replication
Class ReplicatingContentStore.ReplicatingWriteListener
java.lang.Object
org.alfresco.repo.content.AbstractContentStreamListener
org.alfresco.repo.content.replication.ReplicatingContentStore.ReplicatingWriteListener
- All Implemented Interfaces:
- org.alfresco.service.cmr.repository.ContentStreamListener
- Enclosing class:
- ReplicatingContentStore
public static class ReplicatingContentStore.ReplicatingWriteListener
- extends AbstractContentStreamListener
Replicates the content upon stream closure. If the thread pool is available,
then the process will be asynchronous.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplicatingContentStore.ReplicatingWriteListener
public ReplicatingContentStore.ReplicatingWriteListener(java.util.List stores,
org.alfresco.service.cmr.repository.ContentWriter writer,
java.util.concurrent.ThreadPoolExecutor threadPoolExecutor)
contentStreamClosedImpl
public void contentStreamClosedImpl()
throws org.alfresco.service.cmr.repository.ContentIOException
- Description copied from class:
AbstractContentStreamListener
- ContentStreamListeners must implement this method.
The implementation must be idempotent.
The method will be executed inside a retrying transaction helper if one is set.
Listeners will not generally require this unless they write to the database.
- Specified by:
contentStreamClosedImpl
in class AbstractContentStreamListener
- Throws:
org.alfresco.service.cmr.repository.ContentIOException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.