org.alfresco.repo.content.replication
Class ReplicatingContentStore.ReplicatingWriteListener
java.lang.Object
org.alfresco.repo.content.replication.ReplicatingContentStore.ReplicatingWriteListener
- All Implemented Interfaces:
- ContentStreamListener
- Enclosing class:
- ReplicatingContentStore
public static class ReplicatingContentStore.ReplicatingWriteListener
- extends java.lang.Object
- implements ContentStreamListener
Replicates the content upon stream closure. If the thread pool is available,
then the process will be asynchronous.
No transaction boundaries have been declared as the
ContentAccessor.addListener(ContentStreamListener)
method indicates that
all listeners will be called within a transaction.
Method Summary |
void |
contentStreamClosed()
Called when the stream associated with a reader or writer is closed |
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,
ContentWriter writer,
java.util.concurrent.ThreadPoolExecutor threadPoolExecutor)
contentStreamClosed
public void contentStreamClosed()
throws ContentIOException
- Description copied from interface:
ContentStreamListener
- Called when the stream associated with a reader or writer is closed
- Specified by:
contentStreamClosed
in interface ContentStreamListener
- Throws:
ContentIOException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.