Package com.marklogic.client.ext.batch
Class WriteListenerSupport
- java.lang.Object
-
- com.marklogic.client.ext.batch.WriteListenerSupport
-
- All Implemented Interfaces:
WriteListener
- Direct Known Subclasses:
DefaultWriteListener
public class WriteListenerSupport extends java.lang.Object implements WriteListener
WriteListener implementors should extend this to avoid issues when methods are added to WriteListener.
-
-
Constructor Summary
Constructors Constructor Description WriteListenerSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterCompletion()voidonWriteFailure(java.lang.Throwable ex, java.util.List<? extends com.marklogic.client.document.DocumentWriteOperation> items)
-
-
-
Method Detail
-
onWriteFailure
public void onWriteFailure(java.lang.Throwable ex, java.util.List<? extends com.marklogic.client.document.DocumentWriteOperation> items)- Specified by:
onWriteFailurein interfaceWriteListener
-
afterCompletion
public void afterCompletion()
- Specified by:
afterCompletionin interfaceWriteListener
-
-