public abstract class AbstractAddConfigMessageTask<P> extends AbstractMessageTask<P> implements ExecutionCallback<Object>
clientEngine, clientMessage, connection, endpoint, endpointManager, logger, nodeEngine, parameters, serializationService
Constructor and Description |
---|
AbstractAddConfigMessageTask(ClientMessage clientMessage,
Node node,
Connection connection) |
Modifier and Type | Method and Description |
---|---|
protected List<? extends ListenerConfig> |
adaptListenerConfigs(List<ListenerConfigHolder> listenerConfigHolders) |
protected abstract IdentifiedDataSerializable |
getConfig() |
String |
getDistributedObjectName()
Used for
SecurityInterceptor |
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() |
void |
onFailure(Throwable t)
Called when an execution is completed with an error.
|
void |
onResponse(Object response)
Called when an execution is completed successfully.
|
void |
processMessage() |
decodeClientMessage, encodeResponse, getClientVersion, getDistributedObjectType, getEndpoint, getMemberBuildInfo, getMethodName, getPartitionId, getService, handleProcessingFailure, isAuthenticationMessage, run, sendClientMessage, sendClientMessage, sendClientMessage, sendResponse
public AbstractAddConfigMessageTask(ClientMessage clientMessage, Node node, Connection connection)
public String getServiceName()
getServiceName
in class AbstractMessageTask<P>
public String getDistributedObjectName()
SecureRequest
SecurityInterceptor
getDistributedObjectName
in interface SecureRequest
getDistributedObjectName
in class AbstractMessageTask<P>
public Permission getRequiredPermission()
getRequiredPermission
in interface SecureRequest
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 final void processMessage()
processMessage
in class AbstractMessageTask<P>
public void onResponse(Object response)
ExecutionCallback
onResponse
in interface ExecutionCallback<Object>
response
- the result of the successful executionpublic void onFailure(Throwable t)
ExecutionCallback
onFailure
in interface ExecutionCallback<Object>
t
- the exception that is thrownprotected List<? extends ListenerConfig> adaptListenerConfigs(List<ListenerConfigHolder> listenerConfigHolders)
protected abstract IdentifiedDataSerializable getConfig()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.