public class ChosenBlockImpl extends ChosenBlock
| Modifier and Type | Field and Description |
|---|---|
boolean |
persistent |
SendableRequest |
request |
RequestScheduler |
sched |
canWriteClientCache, ckey, forkOnCacheable, ignoreStore, key, localRequestOnly, realTimeFlag, token| Constructor and Description |
|---|
ChosenBlockImpl(SendableRequest req,
SendableRequestItem token,
Key key,
ClientKey ckey,
boolean localRequestOnly,
boolean ignoreStore,
boolean canWriteClientCache,
boolean forkOnCacheable,
boolean realTimeFlag,
RequestScheduler sched,
boolean persistent) |
| Modifier and Type | Method and Description |
|---|---|
short |
getPriority() |
SendableRequestSender |
getSender(ClientContext context) |
boolean |
isCancelled() |
boolean |
isPersistent() |
void |
onFailure(LowLevelGetException e,
ClientContext context) |
void |
onFailure(LowLevelPutException e,
ClientContext context) |
void |
onFetchSuccess(ClientContext context)
The actual data delivery goes through CRS.tripPendingKey().
|
void |
onInsertSuccess(ClientKey key,
ClientContext context) |
onDumped, send, sendIsBlockingpublic final SendableRequest request
public final RequestScheduler sched
public final boolean persistent
public ChosenBlockImpl(SendableRequest req, SendableRequestItem token, Key key, ClientKey ckey, boolean localRequestOnly, boolean ignoreStore, boolean canWriteClientCache, boolean forkOnCacheable, boolean realTimeFlag, RequestScheduler sched, boolean persistent)
public boolean isCancelled()
isCancelled in class ChosenBlockpublic boolean isPersistent()
isPersistent in class ChosenBlockpublic void onFailure(LowLevelPutException e, ClientContext context)
onFailure in class ChosenBlockpublic void onInsertSuccess(ClientKey key, ClientContext context)
onInsertSuccess in class ChosenBlockpublic void onFailure(LowLevelGetException e, ClientContext context)
onFailure in class ChosenBlockpublic void onFetchSuccess(ClientContext context)
ChosenBlockonFetchSuccess in class ChosenBlockcontext - Might be useful.public short getPriority()
getPriority in class ChosenBlockpublic SendableRequestSender getSender(ClientContext context)
getSender in class ChosenBlock