public class MapGetMessageTask extends AbstractPartitionMessageTask<P>
clientEngine, clientMessage, connection, endpoint, logger, nodeEngine, parameters, serializationService
Constructor and Description |
---|
MapGetMessageTask(ClientMessage clientMessage,
Node node,
Connection connection) |
Modifier and Type | Method and Description |
---|---|
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.codec.MapGetCodec.RequestParameters |
decodeClientMessage(ClientMessage clientMessage) |
protected ClientMessage |
encodeResponse(Object response) |
String |
getDistributedObjectName()
Used for
SecurityInterceptor |
protected MapOperationProvider |
getMapOperationProvider(String mapName) |
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() |
afterResponse, execute, onFailure, onResponse, processMessage
doRun, getDistributedObjectType, getMemberBuildInfo, getPartitionId, getService, handleProcessingFailure, run, sendClientMessage, sendClientMessage, sendClientMessage, sendResponse
public MapGetMessageTask(ClientMessage clientMessage, Node node, Connection connection)
protected com.hazelcast.client.impl.protocol.codec.MapGetCodec.RequestParameters decodeClientMessage(ClientMessage clientMessage)
decodeClientMessage
in class AbstractMessageTask<com.hazelcast.client.impl.protocol.codec.MapGetCodec.RequestParameters>
protected ClientMessage encodeResponse(Object response)
encodeResponse
in class AbstractMessageTask<com.hazelcast.client.impl.protocol.codec.MapGetCodec.RequestParameters>
protected Operation prepareOperation()
prepareOperation
in class AbstractPartitionMessageTask<com.hazelcast.client.impl.protocol.codec.MapGetCodec.RequestParameters>
protected void beforeProcess()
AbstractPartitionMessageTask
beforeProcess
in class AbstractPartitionMessageTask<com.hazelcast.client.impl.protocol.codec.MapGetCodec.RequestParameters>
protected void beforeResponse()
AbstractPartitionMessageTask
beforeResponse
in class AbstractPartitionMessageTask<com.hazelcast.client.impl.protocol.codec.MapGetCodec.RequestParameters>
public String getServiceName()
getServiceName
in class AbstractMessageTask<com.hazelcast.client.impl.protocol.codec.MapGetCodec.RequestParameters>
public Permission getRequiredPermission()
public String getDistributedObjectName()
SecureRequest
SecurityInterceptor
getDistributedObjectName
in interface SecureRequest
getDistributedObjectName
in class AbstractMessageTask<com.hazelcast.client.impl.protocol.codec.MapGetCodec.RequestParameters>
public String getMethodName()
SecureRequest
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.getMethodName
in interface SecureRequest
getMethodName
in class AbstractMessageTask<com.hazelcast.client.impl.protocol.codec.MapGetCodec.RequestParameters>
public Object[] getParameters()
SecureRequest
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 lazilygetParameters
in interface SecureRequest
getParameters
in class AbstractMessageTask<com.hazelcast.client.impl.protocol.codec.MapGetCodec.RequestParameters>
protected final MapOperationProvider getMapOperationProvider(String mapName)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.