com.hazelcast.client.impl.protocol.task.executorservice
Class AbstractExecutorServiceCancelMessageTask<P>
java.lang.Object
com.hazelcast.client.impl.protocol.task.AbstractMessageTask<P>
com.hazelcast.client.impl.protocol.task.AbstractCallableMessageTask<P>
com.hazelcast.client.impl.protocol.task.executorservice.AbstractExecutorServiceCancelMessageTask<P>
- All Implemented Interfaces:
- SecureRequest, MessageTask, PartitionSpecificRunnable, Runnable
- Direct Known Subclasses:
- ExecutorServiceCancelOnAddressMessageTask, ExecutorServiceCancelOnPartitionMessageTask
public abstract class AbstractExecutorServiceCancelMessageTask<P>
- extends AbstractCallableMessageTask<P>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractExecutorServiceCancelMessageTask
public AbstractExecutorServiceCancelMessageTask(ClientMessage clientMessage,
Node node,
Connection connection)
call
protected ClientMessage call()
throws Exception
- Specified by:
call
in class AbstractCallableMessageTask<P>
- Throws:
Exception
createInvocationBuilder
protected abstract InvocationBuilder createInvocationBuilder()
throws UnknownHostException
- Throws:
UnknownHostException
getServiceName
public String getServiceName()
- Specified by:
getServiceName
in class AbstractMessageTask<P>
getRequiredPermission
public Permission getRequiredPermission()
getMethodName
public String getMethodName()
- Description copied from interface:
SecureRequest
- 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.
- Specified by:
getMethodName
in interface SecureRequest
- Specified by:
getMethodName
in class AbstractMessageTask<P>
- Returns:
getParameters
public Object[] getParameters()
- Description copied from interface:
SecureRequest
- 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
- Specified by:
getParameters
in interface SecureRequest
- Specified by:
getParameters
in class AbstractMessageTask<P>
- Returns:
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.