com.hazelcast.client.impl.protocol.task.cache
public abstract class AbstractCacheMessageTask<P> extends AbstractPartitionMessageTask<P>
clientEngine, clientMessage, connection, endpoint, endpointManager, logger, nodeEngine, parameters, serializationService
Modifier | Constructor and Description |
---|---|
protected |
AbstractCacheMessageTask(ClientMessage clientMessage,
Node node,
Connection connection) |
Modifier and Type | Method and Description |
---|---|
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. |
protected CacheOperationProvider |
getOperationProvider(String name) |
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() |
afterResponse, beforeProcess, beforeResponse, onFailure, onResponse, prepareOperation, processMessage
decodeClientMessage, encodeResponse, getDistributedObjectName, getDistributedObjectType, getEndpoint, getPartitionId, getService, isAuthenticationMessage, run, sendClientMessage, sendClientMessage, sendClientMessage, sendResponse
protected AbstractCacheMessageTask(ClientMessage clientMessage, Node node, Connection connection)
protected CacheOperationProvider getOperationProvider(String name)
public String getServiceName()
getServiceName
in class AbstractMessageTask<P>
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<P>
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<P>
public Permission getRequiredPermission()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.