public class CacheRemoveAllMessageTask extends AbstractAllPartitionsMessageTask<P>
CacheRemoveAllOperationFactory
on the server side.CacheRemoveAllOperationFactory
clientEngine, clientMessage, connection, endpoint, logger, nodeEngine, parameters, serializationService
Constructor and Description |
---|
CacheRemoveAllMessageTask(ClientMessage clientMessage,
Node node,
Connection connection) |
Modifier and Type | Method and Description |
---|---|
protected OperationFactory |
createOperationFactory() |
protected CacheRemoveAllCodec.RequestParameters |
decodeClientMessage(ClientMessage clientMessage) |
protected ClientMessage |
encodeResponse(Object response) |
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. |
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() |
protected Object |
reduce(Map<Integer,Object> map) |
accept, processMessage
getDistributedObjectType, getMemberBuildInfo, getService, handleProcessingFailure, isAdvancedNetworkEnabled, peelIfNeeded, requiresAuthentication, run, sendClientMessage, sendClientMessage, sendResponse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen
public CacheRemoveAllMessageTask(ClientMessage clientMessage, Node node, Connection connection)
protected CacheRemoveAllCodec.RequestParameters decodeClientMessage(ClientMessage clientMessage)
decodeClientMessage
in class AbstractMessageTask<CacheRemoveAllCodec.RequestParameters>
protected ClientMessage encodeResponse(Object response)
encodeResponse
in class AbstractMessageTask<CacheRemoveAllCodec.RequestParameters>
protected OperationFactory createOperationFactory()
createOperationFactory
in class AbstractAllPartitionsMessageTask<CacheRemoveAllCodec.RequestParameters>
protected Object reduce(Map<Integer,Object> map)
reduce
in class AbstractAllPartitionsMessageTask<CacheRemoveAllCodec.RequestParameters>
public Permission getRequiredPermission()
getRequiredPermission
in interface SecureRequest
public String getDistributedObjectName()
SecureRequest
SecurityInterceptor
getDistributedObjectName
in interface SecureRequest
getDistributedObjectName
in class AbstractMessageTask<CacheRemoveAllCodec.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
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
protected CacheOperationProvider getOperationProvider(String name)
public String getServiceName()
getServiceName
in class AbstractMessageTask<P>
Copyright © 2019 Hazelcast, Inc.. All rights reserved.