public interface ClusterExecutor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecuteOn(java.util.UUID node)
Checks whether it is possible to execute on the given node
|
<P extends java.io.Serializable,R extends java.io.Serializable> |
executeOnNode(java.lang.Class<? extends Job<P,R>> jobClass,
P jobData,
java.util.UUID node)
Runs a job on a remote node
|
<P extends java.io.Serializable,R extends java.io.Serializable> |
startStopAgentOnNode(P jobData,
java.util.UUID node) |
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
boolean canExecuteOn(java.util.UUID node)
node
- unique idtrue
if execution can be performed on the indicated node.<P extends java.io.Serializable,R extends java.io.Serializable> com.google.common.util.concurrent.ListenableFuture<R> executeOnNode(java.lang.Class<? extends Job<P,R>> jobClass, P jobData, java.util.UUID node)
jobClass
- class that implements the jobjobData
- to be passed to the job during executionnode
- on which to execute the job<P extends java.io.Serializable,R extends java.io.Serializable> com.google.common.util.concurrent.ListenableFuture<R> startStopAgentOnNode(P jobData, java.util.UUID node)
Copyright © 2015 Pegasystems Inc. All Rights Reserved.