|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Documented @Target(value=TYPE) public @interface ExecuteOn
Annotation to qualify when an action like a command is targeted to be run on a cluster or a set of instances. Some actions may run only on DAS, or only on instances, by default they run on both the DAS and the instances.
| Optional Element Summary | |
|---|---|
java.lang.Class<? extends ClusterExecutor> |
executor
Identifies the ClusterExecutor that is responsible for remotely executing
commands on the target clusters or instances. |
FailurePolicy |
ifFailure
Identifies the expected behaviour from the framework if any of the clustered invocation failed. |
FailurePolicy |
ifOffline
Identifies the expected behaviour from the framework if any of the clustered invocation could not be invoked because the remote server was offline. |
RuntimeType[] |
value
Returns an array of process types on which the annotated action should run |
public abstract RuntimeType[] value
public abstract java.lang.Class<? extends ClusterExecutor> executor
ClusterExecutor that is responsible for remotely executing
commands on the target clusters or instances. The provider will be looked up
in the habitat by its type.
ClusterExecutor type or null to use the default executor that takes the
"target" command parameter topublic abstract FailurePolicy ifOffline
public abstract FailurePolicy ifFailure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||