public class ClientCacheReplaceRequest extends ClientCacheKeyValueRequest
HANDSHAKE| Constructor and Description |
|---|
ClientCacheReplaceRequest(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.
|
boolean |
isTransactional()
Gets a value indicating whether request was made under transaction.
|
ClientResponse |
process(ClientConnectionContext ctx)
Processes the request.
|
protected IgniteCache |
rawCache(ClientConnectionContext ctx)
Gets the cache for current cache id, ignoring any flags.
|
int |
txId()
Gets transaction ID.
|
valkeyrequestIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisTransactional, txIdpublic ClientCacheReplaceRequest(BinaryRawReaderEx reader)
reader - Reader.public ClientResponse process(ClientConnectionContext ctx)
process in class ClientRequestpublic int txId()
public boolean isTransactional()
protected 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 Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020