com.hazelcast.cache.impl.operation
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
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
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() |
String |
getServiceName() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
String |
toString() |
protected void |
writeInternal(ObjectDataOutput out) |
getName
afterRun, beforeRun, returnsResponse
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, 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 String getServiceName()
getServiceName
in class Operation
public Object getResponse()
getResponse
in class AbstractOperation
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.