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 |
protected Operation |
prepareOperation() |
getMethodName, getOperationProvider, getParameters, getRequiredPermission, getServiceName
afterResponse, beforeProcess, beforeResponse, onFailure, onResponse, processMessage
getDistributedObjectType, getEndpoint, getPartitionId, getService, 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 String getDistributedObjectName()
SecureRequest
SecurityInterceptor
getDistributedObjectName
in interface SecureRequest
getDistributedObjectName
in class AbstractMessageTask<com.hazelcast.client.impl.protocol.codec.CacheGetAndReplaceCodec.RequestParameters>
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.