Class PartitionClientRequest

  extended by com.hazelcast.client.impl.client.ClientRequest
      extended by 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.

Field Summary
Fields inherited from class com.hazelcast.client.impl.client.ClientRequest
callId, clientEngine, endpoint, operationService, serializationService, service
Constructor Summary
Method Summary
protected  void afterResponse()
          Called on node side, after sending the response to the client.
protected  void beforeProcess()
          Called on node side, before starting any operation.
protected  void beforeResponse()
          Called on node side, after process is run and right before sending the response to the client.
protected  Object filter(Object response)
protected abstract  int getPartition()
protected  int getReplicaIndex()
protected abstract  Operation prepareOperation()
 void process()
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
Methods inherited from interface com.hazelcast.client.impl.client.SecureRequest
Methods inherited from interface com.hazelcast.nio.serialization.Portable
getClassId, getFactoryId

Constructor Detail


public PartitionClientRequest()
Method Detail


protected void beforeProcess()
Called on node side, before starting any operation.


protected void beforeResponse()
Called on node side, after process is run and right before sending the response to the client.


protected void afterResponse()
Called on node side, after sending the response to the client.


public final void process()
Specified by:
process in class ClientRequest


protected abstract Operation prepareOperation()


protected abstract int getPartition()


protected int getReplicaIndex()


protected Object filter(Object response)

Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.