com.hazelcast.management.operation
Class ScriptExecutorOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.management.operation.ScriptExecutorOperation
- All Implemented Interfaces:
- DataSerializable, RemotePropagatable<Operation>
public class ScriptExecutorOperation
- extends Operation
Operation to execute script on the node.
Methods inherited from class com.hazelcast.spi.Operation |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData |
ScriptExecutorOperation
public ScriptExecutorOperation()
ScriptExecutorOperation
public ScriptExecutorOperation(String engineName,
String script,
Map<String,Object> bindings)
beforeRun
public void beforeRun()
throws Exception
- Specified by:
beforeRun
in class Operation
- Throws:
Exception
run
public void run()
throws Exception
- Specified by:
run
in class Operation
- Throws:
Exception
afterRun
public void afterRun()
throws Exception
- Specified by:
afterRun
in class Operation
- Throws:
Exception
returnsResponse
public boolean returnsResponse()
- Specified by:
returnsResponse
in interface RemotePropagatable<Operation>
- Specified by:
returnsResponse
in class Operation
getResponse
public Object getResponse()
- Specified by:
getResponse
in class Operation
writeInternal
protected void writeInternal(ObjectDataOutput out)
throws IOException
- Specified by:
writeInternal
in class Operation
- Throws:
IOException
readInternal
protected void readInternal(ObjectDataInput in)
throws IOException
- Specified by:
readInternal
in class Operation
- Throws:
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.