Class ClientCacheContainsKeysRequest
- java.lang.Object
-
- org.apache.ignite.internal.processors.platform.client.ClientRequest
-
- org.apache.ignite.internal.processors.platform.client.cache.ClientCacheRequest
-
- org.apache.ignite.internal.processors.platform.client.cache.ClientCacheKeysRequest
-
- org.apache.ignite.internal.processors.platform.client.cache.ClientCacheContainsKeysRequest
-
- All Implemented Interfaces:
ClientListenerRequest,ClientTxAwareRequest
public class ClientCacheContainsKeysRequest extends ClientCacheKeysRequest
ContainsKeys request.
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.processors.odbc.ClientListenerRequest
HANDSHAKE
-
-
Constructor Summary
Constructors Constructor Description ClientCacheContainsKeysRequest(BinaryRawReaderEx reader)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static <T> IgniteInternalFuture<ClientResponse>chainFuture(IgniteFuture<T> fut, IgniteClosure<T,ClientResponse> clo)Chain cache operation future to return response when operation is completed.booleanisTransactional()Gets a value indicating whether request was made under transaction.ClientResponseprocess(ClientConnectionContext ctx)Processes the request.IgniteInternalFuture<ClientResponse>processAsync(ClientConnectionContext ctx)Processes the request asynchronously.inttxId()Gets transaction ID.-
Methods inherited from class org.apache.ignite.internal.processors.platform.client.cache.ClientCacheKeysRequest
isAsync, keys
-
Methods inherited from class org.apache.ignite.internal.processors.platform.client.cache.ClientCacheRequest
cache, cacheDescriptor, cacheDescriptor, cacheId, cachex, isKeepBinary, rawCache
-
Methods inherited from class org.apache.ignite.internal.processors.platform.client.ClientRequest
requestId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.processors.odbc.ClientListenerRequest
beforeStartupRequest
-
Methods inherited from interface org.apache.ignite.internal.processors.platform.client.tx.ClientTxAwareRequest
isTransactional, txId
-
-
-
-
Constructor Detail
-
ClientCacheContainsKeysRequest
public ClientCacheContainsKeysRequest(BinaryRawReaderEx reader)
Constructor.- Parameters:
reader- Reader.
-
-
Method Detail
-
process
public ClientResponse process(ClientConnectionContext ctx)
Processes the request.- Overrides:
processin classClientRequest- Returns:
- Response.
-
processAsync
public IgniteInternalFuture<ClientResponse> processAsync(ClientConnectionContext ctx)
Processes the request asynchronously.- Overrides:
processAsyncin classClientRequest- Returns:
- Future for response.
-
txId
public int txId()
Gets transaction ID.
-
isTransactional
public boolean isTransactional()
Gets a value indicating whether request was made under transaction.- Overrides:
isTransactionalin classClientCacheRequest- Returns:
- Flag value.
-
chainFuture
protected static <T> IgniteInternalFuture<ClientResponse> chainFuture(IgniteFuture<T> fut, IgniteClosure<T,ClientResponse> clo)
Chain cache operation future to return response when operation is completed.
-
-