public interface ClientPutState
Modifier and Type | Method and Description |
---|---|
void |
cancel(ClientContext context)
Cancel the request.
|
BaseClientPutter |
getParent()
Get the BaseClientPutter responsible for this request state.
|
java.lang.Object |
getToken()
Get the token, an object which is passed around with the insert and may be
used by callers.
|
void |
onResume(ClientContext context)
Called on restarting the node for a persistent request.
|
void |
onShutdown(ClientContext context)
Called just before the final write of client.dat before the node shuts down.
|
void |
schedule(ClientContext context)
Schedule the request.
|
BaseClientPutter getParent()
void cancel(ClientContext context)
void schedule(ClientContext context) throws InsertException
InsertException
java.lang.Object getToken()
void onResume(ClientContext context) throws InsertException, ResumeFailedException
InsertException
ResumeFailedException
void onShutdown(ClientContext context)