com.hazelcast.client.impl.client
Class MultiTargetClientRequest

java.lang.Object
  extended by com.hazelcast.client.impl.client.ClientRequest
      extended by com.hazelcast.client.impl.client.MultiTargetClientRequest
All Implemented Interfaces:
SecureRequest, Portable, VersionedPortable
Direct Known Subclasses:
MapAddInterceptorRequest, MapRemoveInterceptorRequest

public abstract class MultiTargetClientRequest
extends ClientRequest

Base class for client request that will be send more than one member


Field Summary
 
Fields inherited from class com.hazelcast.client.impl.client.ClientRequest
callId, clientEngine, endpoint, operationService, serializationService, service
 
Constructor Summary
MultiTargetClientRequest()
           
 
Method Summary
protected abstract  OperationFactory createOperationFactory()
           
abstract  Collection<Address> getTargets()
           
 void process()
           
protected abstract  Object reduce(Map<Address,Object> map)
           
 
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
getRequiredPermission
 
Methods inherited from interface com.hazelcast.nio.serialization.Portable
getClassId, getFactoryId
 

Constructor Detail

MultiTargetClientRequest

public MultiTargetClientRequest()
Method Detail

process

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

createOperationFactory

protected abstract OperationFactory createOperationFactory()

reduce

protected abstract Object reduce(Map<Address,Object> map)

getTargets

public abstract Collection<Address> getTargets()


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