public class BinaryBlobInserter extends java.lang.Object implements 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 |
maybeFinish(ClientContext context) |
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.
|
public void cancel(ClientContext context)
ClientPutStatecancel in interface ClientPutStatepublic BaseClientPutter getParent()
ClientPutStategetParent in interface ClientPutStatepublic java.lang.Object getToken()
ClientPutStategetToken in interface ClientPutStatepublic void schedule(ClientContext context) throws InsertException
ClientPutStateschedule in interface ClientPutStateInsertExceptionpublic void maybeFinish(ClientContext context)
public void onResume(ClientContext context) throws InsertException
ClientPutStateonResume in interface ClientPutStateInsertExceptionpublic void onShutdown(ClientContext context)
ClientPutStateonShutdown in interface ClientPutState