@Deprecated
public interface ClusterExecutor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
|
static java.lang.String |
VERSION
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canExecuteOn(java.util.UUID node)
Deprecated.
Checks whether it is possible to execute on the given node
|
<P extends java.io.Serializable,R extends java.io.Serializable> |
executeOnAllNodes(java.lang.Class<? extends Job<P,R>> aJobClass,
P aJobData)
Deprecated.
Runs a job on all nodes in the cluster
|
<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)
Deprecated.
Runs a job on a remote node
|
<P extends java.io.Serializable,R extends java.io.Serializable> |
executeOnSelectedNodes(java.lang.Class<? extends Job<P,R>> aJobClass,
P aJobData,
java.util.Set<java.util.UUID> nodes)
Deprecated.
Runs a job on given nodes in the cluster
|
<P extends java.io.Serializable,R extends java.io.Serializable> |
startStopAgentOnNode(P jobData,
java.util.UUID node)
Deprecated.
|
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)
<P extends java.io.Serializable,R extends java.io.Serializable> java.util.Map<java.lang.String,com.google.common.util.concurrent.ListenableFuture<R>> executeOnAllNodes(java.lang.Class<? extends Job<P,R>> aJobClass, P aJobData)
aJobClass
- class that implements the jobaJobData
- to be passed to the job during execution<P extends java.io.Serializable,R extends java.io.Serializable> java.util.Map<java.lang.String,com.google.common.util.concurrent.ListenableFuture<R>> executeOnSelectedNodes(java.lang.Class<? extends Job<P,R>> aJobClass, P aJobData, java.util.Set<java.util.UUID> nodes)
aJobClass
- class that implements the jobaJobData
- to be passed to the job during executionnodes
- on which the job must be executedCopyright © 2018 Pegasystems Inc. All Rights Reserved.