com.hazelcast.map.impl.operation
Class ContainsKeyOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.map.impl.operation.KeyBasedMapOperation
          extended by com.hazelcast.map.impl.operation.ContainsKeyOperation
All Implemented Interfaces:
DataSerializable, RemotePropagatable<Operation>, PartitionAwareOperation, ReadonlyOperation, WaitSupport

public class ContainsKeyOperation
extends KeyBasedMapOperation
implements ReadonlyOperation, WaitSupport


Field Summary
 
Fields inherited from class com.hazelcast.map.impl.operation.KeyBasedMapOperation
dataKey, dataValue, mapContainer, mapService, name, partitionContainer, recordStore, threadId, ttl
 
Constructor Summary
ContainsKeyOperation()
           
ContainsKeyOperation(String name, Data dataKey)
           
 
Method Summary
 Object getResponse()
           
 WaitNotifyKey getWaitKey()
           
 void onWaitExpire()
           
 void run()
           
 boolean shouldWait()
           
 String toString()
           
 
Methods inherited from class com.hazelcast.map.impl.operation.KeyBasedMapOperation
afterRun, beforeRun, evict, getKey, getName, getThreadId, getTtl, getValue, innerBeforeRun, invalidateNearCaches, readInternal, returnsResponse, setThreadId, writeInternal
 
Methods inherited from class com.hazelcast.spi.Operation
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hazelcast.spi.WaitSupport
getWaitTimeout
 
Methods inherited from interface com.hazelcast.spi.PartitionAwareOperation
getPartitionId
 

Constructor Detail

ContainsKeyOperation

public ContainsKeyOperation()

ContainsKeyOperation

public ContainsKeyOperation(String name,
                            Data dataKey)
Method Detail

run

public void run()
Specified by:
run in class Operation

getResponse

public Object getResponse()
Specified by:
getResponse in class Operation

toString

public String toString()
Overrides:
toString in class Operation

getWaitKey

public WaitNotifyKey getWaitKey()
Specified by:
getWaitKey in interface WaitSupport

shouldWait

public boolean shouldWait()
Specified by:
shouldWait in interface WaitSupport

onWaitExpire

public void onWaitExpire()
Specified by:
onWaitExpire in interface WaitSupport


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