public abstract class AbstractAddConfigMessageTask<P> extends AbstractMessageTask<P> implements ExecutionCallback<Object>
clientEngine, clientMessage, connection, endpoint, 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 boolean |
checkStaticConfigDoesNotExist(IdentifiedDataSerializable config) |
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() |
protected MergePolicyConfig |
mergePolicyConfig(boolean mergePolicyExist,
String mergePolicy,
int batchSize) |
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, getDistributedObjectType, getMemberBuildInfo, getMethodName, getPartitionId, getService, handleProcessingFailure, isAdvancedNetworkEnabled, requiresAuthentication, 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 MergePolicyConfig mergePolicyConfig(boolean mergePolicyExist, String mergePolicy, int batchSize)
protected List<? extends ListenerConfig> adaptListenerConfigs(List<ListenerConfigHolder> listenerConfigHolders)
protected abstract IdentifiedDataSerializable getConfig()
protected abstract boolean checkStaticConfigDoesNotExist(IdentifiedDataSerializable config)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.