Class NetworkProtocol.GetOperation
- java.lang.Object
-
- io.github.dhruv1110.jcachex.distributed.NetworkProtocol.CacheOperation
-
- io.github.dhruv1110.jcachex.distributed.NetworkProtocol.GetOperation
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- NetworkProtocol
public static class NetworkProtocol.GetOperation extends NetworkProtocol.CacheOperation
Get operation for distributed cache.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetOperation(String operationId, String sourceNodeId, Object key, DistributedCache.ConsistencyLevel consistencyLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DistributedCache.ConsistencyLevel
getConsistencyLevel()
Object
getKey()
NetworkProtocol.OperationType
getType()
-
Methods inherited from class io.github.dhruv1110.jcachex.distributed.NetworkProtocol.CacheOperation
getOperationId, getSourceNodeId, getTimestamp
-
-
-
-
Constructor Detail
-
GetOperation
public GetOperation(String operationId, String sourceNodeId, Object key, DistributedCache.ConsistencyLevel consistencyLevel)
-
-
Method Detail
-
getKey
public Object getKey()
-
getConsistencyLevel
public DistributedCache.ConsistencyLevel getConsistencyLevel()
-
getType
public NetworkProtocol.OperationType getType()
- Specified by:
getType
in classNetworkProtocol.CacheOperation
-
-