public class ClientCacheGetAndReplaceRequest extends ClientCacheKeyValueRequest
HANDSHAKE| Constructor and Description |
|---|
ClientCacheGetAndReplaceRequest(BinaryRawReaderEx reader)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
protected IgniteCache |
cache(ClientConnectionContext ctx)
Gets the cache for current cache id, with binary mode enabled.
|
protected DynamicCacheDescriptor |
cacheDescriptor(ClientConnectionContext ctx)
Gets the cache descriptor.
|
static DynamicCacheDescriptor |
cacheDescriptor(ClientConnectionContext ctx,
int cacheId)
Gets the cache descriptor.
|
protected int |
cacheId()
Gets the cache id.
|
protected boolean |
isKeepBinary()
Gets a value indicating whether keepBinary flag is set in this request.
|
ClientResponse |
process(ClientConnectionContext ctx)
Processes the request.
|
protected IgniteCache |
rawCache(ClientConnectionContext ctx)
Gets the cache for current cache id, ignoring any flags.
|
valkeyrequestIdpublic ClientCacheGetAndReplaceRequest(BinaryRawReaderEx reader)
reader - Reader.public ClientResponse process(ClientConnectionContext ctx)
process in class ClientRequestprotected IgniteCache cache(ClientConnectionContext ctx)
ctx - Kernal context.protected boolean isKeepBinary()
protected IgniteCache rawCache(ClientConnectionContext ctx)
ctx - Kernal context.protected DynamicCacheDescriptor cacheDescriptor(ClientConnectionContext ctx)
ctx - Context.public static DynamicCacheDescriptor cacheDescriptor(ClientConnectionContext ctx, int cacheId)
ctx - Context.cacheId - Cache id.protected int cacheId()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018