com.hazelcast.client.impl.protocol.task.map
Class AbstractMapPutMessageTask<P>

java.lang.Object
  extended by com.hazelcast.client.impl.protocol.task.AbstractMessageTask<P>
      extended by com.hazelcast.client.impl.protocol.task.AbstractPartitionMessageTask<P>
          extended by com.hazelcast.client.impl.protocol.task.map.AbstractMapPutMessageTask<P>
All Implemented Interfaces:
SecureRequest, MessageTask, ExecutionCallback, PartitionSpecificRunnable, Runnable
Direct Known Subclasses:
MapPutAsyncMessageTask, MapPutIfAbsentMessageTask, MapPutMessageTask, MapPutTransientMessageTask, MapReplaceIfSameMessageTask, MapReplaceMessageTask, MapSetMessageTask, MapTryPutMessageTask

public abstract class AbstractMapPutMessageTask<P>
extends AbstractPartitionMessageTask<P>


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
protected AbstractMapPutMessageTask(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.
 Permission getRequiredPermission()
           
 String getServiceName()
           
 
Methods inherited from class com.hazelcast.client.impl.protocol.task.AbstractPartitionMessageTask
afterResponse, encodeResponse, onFailure, onResponse, prepareOperation, processMessage
 
Methods inherited from class com.hazelcast.client.impl.protocol.task.AbstractMessageTask
decodeClientMessage, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, 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

AbstractMapPutMessageTask

protected AbstractMapPutMessageTask(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<P>

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<P>

getRequiredPermission

public Permission getRequiredPermission()

getServiceName

public String getServiceName()
Specified by:
getServiceName in class AbstractMessageTask<P>


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