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)
ClientPutState
cancel
in interface ClientPutState
public BaseClientPutter getParent()
ClientPutState
getParent
in interface ClientPutState
public java.lang.Object getToken()
ClientPutState
getToken
in interface ClientPutState
public void schedule(ClientContext context) throws InsertException
ClientPutState
schedule
in interface ClientPutState
InsertException
public void maybeFinish(ClientContext context)
public void onResume(ClientContext context) throws InsertException
ClientPutState
onResume
in interface ClientPutState
InsertException
public void onShutdown(ClientContext context)
ClientPutState
onShutdown
in interface ClientPutState