Class ClientAtomicLongRequest
- java.lang.Object
-
- org.apache.ignite.internal.processors.platform.client.ClientRequest
-
- org.apache.ignite.internal.processors.platform.client.datastructures.ClientAtomicLongRequest
-
- All Implemented Interfaces:
ClientListenerRequest
- Direct Known Subclasses:
ClientAtomicLongExistsRequest,ClientAtomicLongRemoveRequest,ClientAtomicLongValueAddAndGetRequest,ClientAtomicLongValueCompareAndSetAndGetRequest,ClientAtomicLongValueCompareAndSetRequest,ClientAtomicLongValueGetAndSetRequest,ClientAtomicLongValueGetRequest
public class ClientAtomicLongRequest extends ClientRequest
Atomic long value request.
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.internal.processors.odbc.ClientListenerRequest
HANDSHAKE
-
-
Constructor Summary
Constructors Constructor Description ClientAtomicLongRequest(BinaryRawReader reader)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GridCacheAtomicLongImplatomicLong(ClientConnectionContext ctx)Gets the atomic long.protected ClientResponsenotFoundResponse()Gets a response for non-existent atomic long.-
Methods inherited from class org.apache.ignite.internal.processors.platform.client.ClientRequest
isAsync, 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
-
-
-
-
Constructor Detail
-
ClientAtomicLongRequest
public ClientAtomicLongRequest(BinaryRawReader reader)
Constructor.- Parameters:
reader- Reader.
-
-
Method Detail
-
atomicLong
protected GridCacheAtomicLongImpl atomicLong(ClientConnectionContext ctx)
Gets the atomic long.- Parameters:
ctx- Context.- Returns:
- Atomic long or null.
-
notFoundResponse
protected ClientResponse notFoundResponse()
Gets a response for non-existent atomic long.- Returns:
- Response for non-existent atomic long.
-
-