Package org.copperengine.core.batcher
Class AcknowledgeCallbackWrapper<T extends BatchCommand<?,T>>
- java.lang.Object
-
- org.copperengine.core.batcher.AcknowledgeCallbackWrapper<T>
-
- All Implemented Interfaces:
CommandCallback<T>
public class AcknowledgeCallbackWrapper<T extends BatchCommand<?,T>> extends java.lang.Object implements CommandCallback<T>
-
-
Constructor Summary
Constructors Constructor Description AcknowledgeCallbackWrapper(Acknowledge ack)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commandCompleted()
Called when a batch command is successfully executedvoid
unhandledException(java.lang.Exception e)
Called when a batch command failed
-
-
-
Constructor Detail
-
AcknowledgeCallbackWrapper
public AcknowledgeCallbackWrapper(Acknowledge ack)
-
-
Method Detail
-
commandCompleted
public void commandCompleted()
Description copied from interface:CommandCallback
Called when a batch command is successfully executed- Specified by:
commandCompleted
in interfaceCommandCallback<T extends BatchCommand<?,T>>
-
unhandledException
public void unhandledException(java.lang.Exception e)
Description copied from interface:CommandCallback
Called when a batch command failed- Specified by:
unhandledException
in interfaceCommandCallback<T extends BatchCommand<?,T>>
- Parameters:
e
- the exception
-
-