public class ContainsEntryOperation extends AbstractMultiMapOperation implements BlockingOperation, ReadonlyOperation
name, response
GENERIC_PARTITION_ID
Constructor and Description |
---|
ContainsEntryOperation() |
ContainsEntryOperation(String name,
Data key,
Data value) |
ContainsEntryOperation(String name,
Data key,
Data value,
long threadId) |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns type identifier for this class.
|
long |
getThreadId() |
WaitNotifyKey |
getWaitKey() |
void |
onWaitExpire() |
protected void |
readInternal(ObjectDataInput in) |
void |
run()
Runs the operation.
|
void |
setThreadId(long threadId) |
boolean |
shouldWait() |
protected void |
writeInternal(ObjectDataOutput out) |
getAsyncBackupCount, getFactoryId, getName, getOrCreateContainer, getOrCreateContainerWithoutAccess, getResponse, getServiceName, getServiceNamespace, getSyncBackupCount, getValueCollectionType, isBinary, publishEvent, toData, toObject, toString
afterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getWaitTimeout
getPartitionId
readData, writeData
public void run() throws Exception
Operation
Operation.run()
or Operation.call()
method should be implemented; not both.
Runs after wait-support, supposed to do actual operationrun
in class Operation
Exception
Operation.call()
public long getThreadId()
public void setThreadId(long threadId)
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractMultiMapOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractMultiMapOperation
IOException
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public WaitNotifyKey getWaitKey()
getWaitKey
in interface BlockingOperation
public boolean shouldWait()
shouldWait
in interface BlockingOperation
public void onWaitExpire()
onWaitExpire
in interface BlockingOperation
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.