Class ClientCacheKeysRequest
- 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
-
- All Implemented Interfaces:
ClientListenerRequest,ClientTxAwareRequest
- Direct Known Subclasses:
ClientCacheClearKeysRequest,ClientCacheContainsKeysRequest,ClientCacheGetAllRequest,ClientCacheInvokeAllRequest,ClientCacheRemoveKeysRequest
public class ClientCacheKeysRequest extends ClientCacheRequest implements ClientTxAwareRequest
Key set request.
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.processors.odbc.ClientListenerRequest
HANDSHAKE
-
-
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.booleanisAsync(ClientConnectionContext ctx)booleanisTransactional()Gets a value indicating whether request was made under transaction.Set<Object>keys()Gets the set of keys.inttxId()Gets transaction ID.-
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
process, processAsync, 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
-
-
-
-
Method Detail
-
isAsync
public boolean isAsync(ClientConnectionContext ctx)
- Overrides:
isAsyncin classClientRequest- Parameters:
ctx- Client connection context.- Returns:
Trueif request should be processed asynchronously.
-
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.
-
-