com.hazelcast.client.impl.client
Class PartitionClientRequest
java.lang.Object
com.hazelcast.client.impl.client.ClientRequest
com.hazelcast.client.impl.client.PartitionClientRequest
- All Implemented Interfaces:
- SecureRequest, Portable, VersionedPortable
- Direct Known Subclasses:
- AbstractAlterRequest, AbstractAlterRequest, AtomicLongRequest, CacheIterateRequest, CollectionRequest, KeyBasedClientRequest, ModifyRequest, MultiMapRequest, PartitionCallableRequest, PublishRequest, QueueRequest, ReadRequest, ReadRequest, SemaphoreRequest
public abstract class PartitionClientRequest
- extends ClientRequest
Base class for partition based client request.
Methods inherited from class com.hazelcast.client.impl.client.ClientRequest |
getCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, getServiceName, isSingleConnection, read, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, setSingleConnection, write, writePortable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartitionClientRequest
public PartitionClientRequest()
beforeProcess
protected void beforeProcess()
- Called on node side, before starting any operation.
beforeResponse
protected void beforeResponse()
- Called on node side, after process is run and right before sending the response to the client.
afterResponse
protected void afterResponse()
- Called on node side, after sending the response to the client.
process
public final void process()
- Specified by:
process
in class ClientRequest
prepareOperation
protected abstract Operation prepareOperation()
getPartition
protected abstract int getPartition()
getReplicaIndex
protected int getReplicaIndex()
filter
protected Object filter(Object response)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.