Class ClientCacheLocalPeekRequest
- 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.ClientCacheKeyRequest
-
- org.apache.ignite.internal.processors.platform.client.cache.ClientCacheLocalPeekRequest
-
- All Implemented Interfaces:
ClientListenerRequest,ClientTxAwareRequest
public class ClientCacheLocalPeekRequest extends ClientCacheKeyRequest
Cache local peek request. Only should be used in testing purposes.
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.processors.odbc.ClientListenerRequest
HANDSHAKE
-
-
Constructor Summary
Constructors Constructor Description ClientCacheLocalPeekRequest(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.booleanisAsync(ClientConnectionContext ctx)booleanisTransactional()Gets a value indicating whether request was made under transaction.ClientResponseprocess0(ClientConnectionContext ctx)inttxId()Gets transaction ID.-
Methods inherited from class org.apache.ignite.internal.processors.platform.client.cache.ClientCacheKeyRequest
key, process, processAsync, processAsync0
-
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
-
ClientCacheLocalPeekRequest
public ClientCacheLocalPeekRequest(BinaryRawReaderEx reader)
Constructor.- Parameters:
reader- Reader.
-
-
Method Detail
-
process0
public ClientResponse process0(ClientConnectionContext ctx)
- Specified by:
process0in classClientCacheKeyRequest
-
isAsync
public boolean isAsync(ClientConnectionContext ctx)
- Overrides:
isAsyncin classClientCacheKeyRequest- 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.
-
-