com.hazelcast.client.impl.protocol.task.map
Class MapRemoveAsyncMessageTask

java.lang.Object
  extended by com.hazelcast.client.impl.protocol.task.AbstractMessageTask<P>
      extended by com.hazelcast.client.impl.protocol.task.AbstractPartitionMessageTask<com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters>
          extended by com.hazelcast.client.impl.protocol.task.map.MapRemoveAsyncMessageTask
All Implemented Interfaces:
SecureRequest, MessageTask, ExecutionCallback, PartitionSpecificRunnable, Runnable

public class MapRemoveAsyncMessageTask
extends AbstractPartitionMessageTask<com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters>


Field Summary
protected  long startTime
           
 
Fields inherited from class com.hazelcast.client.impl.protocol.task.AbstractMessageTask
clientEngine, clientMessage, connection, endpoint, endpointManager, logger, nodeEngine, parameters, serializationService
 
Constructor Summary
MapRemoveAsyncMessageTask(ClientMessage clientMessage, Node node, Connection connection)
           
 
Method Summary
protected  void beforeProcess()
          Called on node side, before starting any operation.
protected  void beforeResponse()
          Called on node side, after process is run and right before sending the response to the client.
protected  com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters decodeClientMessage(ClientMessage clientMessage)
           
 String getDistributedObjectName()
          Used for SecurityInterceptor
 String getMethodName()
          Used for SecurityInterceptor Method name which called via a distributedObject for map.put, methodName will be 'put' For requests which do not produced via a distributedObject should return null, for example internal client.
 Object[] getParameters()
          Used for SecurityInterceptor Parameters passed to the method by a distributedObject for map.put(key, value) parameters should be 'key' and 'value' parameters can be in binary or object form, underlying implementation will de-serialize lazily
 Permission getRequiredPermission()
           
 String getServiceName()
           
protected  Operation prepareOperation()
           
 
Methods inherited from class com.hazelcast.client.impl.protocol.task.AbstractPartitionMessageTask
afterResponse, encodeResponse, onFailure, onResponse, processMessage
 
Methods inherited from class com.hazelcast.client.impl.protocol.task.AbstractMessageTask
getDistributedObjectType, getEndpoint, getPartitionId, getService, run, sendClientMessage, sendClientMessage, sendClientMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startTime

protected transient long startTime
Constructor Detail

MapRemoveAsyncMessageTask

public MapRemoveAsyncMessageTask(ClientMessage clientMessage,
                                 Node node,
                                 Connection connection)
Method Detail

beforeProcess

protected void beforeProcess()
Description copied from class: AbstractPartitionMessageTask
Called on node side, before starting any operation.

Overrides:
beforeProcess in class AbstractPartitionMessageTask<com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters>

beforeResponse

protected void beforeResponse()
Description copied from class: AbstractPartitionMessageTask
Called on node side, after process is run and right before sending the response to the client.

Overrides:
beforeResponse in class AbstractPartitionMessageTask<com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters>

prepareOperation

protected Operation prepareOperation()
Specified by:
prepareOperation in class AbstractPartitionMessageTask<com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters>

decodeClientMessage

protected com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters decodeClientMessage(ClientMessage clientMessage)
Specified by:
decodeClientMessage in class AbstractMessageTask<com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters>

getServiceName

public String getServiceName()
Specified by:
getServiceName in class AbstractMessageTask<com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters>

getRequiredPermission

public Permission getRequiredPermission()

getDistributedObjectName

public String getDistributedObjectName()
Description copied from interface: SecureRequest
Used for SecurityInterceptor

Specified by:
getDistributedObjectName in interface SecureRequest
Specified by:
getDistributedObjectName in class AbstractMessageTask<com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters>
Returns:

getMethodName

public String getMethodName()
Description copied from interface: SecureRequest
Used for SecurityInterceptor Method name which called via a distributedObject for map.put, methodName will be 'put' For requests which do not produced via a distributedObject should return null, for example internal client.

Specified by:
getMethodName in interface SecureRequest
Specified by:
getMethodName in class AbstractMessageTask<com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters>
Returns:

getParameters

public Object[] getParameters()
Description copied from interface: SecureRequest
Used for SecurityInterceptor Parameters passed to the method by a distributedObject for map.put(key, value) parameters should be 'key' and 'value' parameters can be in binary or object form, underlying implementation will de-serialize lazily

Specified by:
getParameters in interface SecureRequest
Specified by:
getParameters in class AbstractMessageTask<com.hazelcast.client.impl.protocol.parameters.MapRemoveAsyncParameters>
Returns:


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