Package com.atlassian.confluence.cluster
Class ClusterNodeExecution<T>
java.lang.Object
com.atlassian.confluence.cluster.ClusterNodeExecution<T>
- Type Parameters:
T
-
Represents the cluster execution in each node (e.g. from
ClusterManager#submitToAllNodes(Callable)
.- Since:
- 7.14.0
-
Constructor Summary
ConstructorDescriptionClusterNodeExecution
(@Nullable ClusterNodeInformation clusterNode, @NonNull CompletionStage<T> completionStage) -
Method Summary
-
Constructor Details
-
ClusterNodeExecution
public ClusterNodeExecution(@Nullable ClusterNodeInformation clusterNode, @NonNull CompletionStage<T> completionStage)
-
-
Method Details
-
getClusterNode
- Returns:
- the cluster node that this execution runs on, or null on a non-clustered instance
-
getCompletionStage
- Returns:
- the asynchronous outcome of the execution
-