public class CacheGetAllOperation extends AbstractNamedOperation implements ReadonlyOperation
CacheGetAllOperationFactory
creates this operation.
Functionality: Filters out the partition keys and calls
ICacheRecordStore.getAll(java.util.Set, javax.cache.expiry.ExpiryPolicy)
name
Constructor and Description |
---|
CacheGetAllOperation() |
CacheGetAllOperation(String name,
Set<Data> keys,
javax.cache.expiry.ExpiryPolicy expiryPolicy) |
Modifier and Type | Method and Description |
---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Object |
getResponse() |
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
String |
toString() |
protected void |
writeInternal(ObjectDataOutput out) |
getName
afterRun, beforeRun
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
readData, writeData
public CacheGetAllOperation(String name, Set<Data> keys, javax.cache.expiry.ExpiryPolicy expiryPolicy)
public CacheGetAllOperation()
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractNamedOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractNamedOperation
IOException
public boolean returnsResponse()
returnsResponse
in interface RemotePropagatable<Operation>
returnsResponse
in class AbstractOperation
public Object getResponse()
getResponse
in class AbstractOperation
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.