public class CacheGetAndReplaceMessageTask extends AbstractCacheMessageTask<com.hazelcast.client.impl.protocol.codec.CacheGetAndReplaceCodec.RequestParameters>
CacheGetAndReplaceOperation
on the server side.CacheGetAndReplaceOperation
clientEngine, clientMessage, connection, endpoint, endpointManager, logger, nodeEngine, parameters, serializationService
Constructor and Description |
---|
CacheGetAndReplaceMessageTask(ClientMessage clientMessage,
Node node,
Connection connection) |
Modifier and Type | Method and Description |
---|---|
protected com.hazelcast.client.impl.protocol.codec.CacheGetAndReplaceCodec.RequestParameters |
decodeClientMessage(ClientMessage clientMessage) |
protected ClientMessage |
encodeResponse(Object response) |
String |
getDistributedObjectName()
Used for
SecurityInterceptor |
Permission |
getRequiredPermission() |
protected Operation |
prepareOperation() |
getMethodName, getOperationProvider, getParameters, getServiceName, serializeCacheConfig
afterResponse, beforeProcess, beforeResponse, execute, onFailure, onResponse, processMessage
getClientVersion, getDistributedObjectType, getEndpoint, getMemberBuildInfo, getPartitionId, getService, handleProcessingFailure, isAuthenticationMessage, run, sendClientMessage, sendClientMessage, sendClientMessage, sendResponse
public CacheGetAndReplaceMessageTask(ClientMessage clientMessage, Node node, Connection connection)
protected Operation prepareOperation()
prepareOperation
in class AbstractPartitionMessageTask<com.hazelcast.client.impl.protocol.codec.CacheGetAndReplaceCodec.RequestParameters>
protected com.hazelcast.client.impl.protocol.codec.CacheGetAndReplaceCodec.RequestParameters decodeClientMessage(ClientMessage clientMessage)
decodeClientMessage
in class AbstractMessageTask<com.hazelcast.client.impl.protocol.codec.CacheGetAndReplaceCodec.RequestParameters>
protected ClientMessage encodeResponse(Object response)
encodeResponse
in class AbstractMessageTask<com.hazelcast.client.impl.protocol.codec.CacheGetAndReplaceCodec.RequestParameters>
public Permission getRequiredPermission()
getRequiredPermission
in interface SecureRequest
getRequiredPermission
in class AbstractCacheMessageTask<com.hazelcast.client.impl.protocol.codec.CacheGetAndReplaceCodec.RequestParameters>
public String getDistributedObjectName()
SecureRequest
SecurityInterceptor
getDistributedObjectName
in interface SecureRequest
getDistributedObjectName
in class AbstractMessageTask<com.hazelcast.client.impl.protocol.codec.CacheGetAndReplaceCodec.RequestParameters>
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.