Class ClusterNodeExecution<T>

java.lang.Object
com.atlassian.confluence.cluster.ClusterNodeExecution<T>
Type Parameters:
T -

public class ClusterNodeExecution<T> extends Object
Represents the cluster execution in each node (e.g. from ClusterManager#submitToAllNodes(Callable).
Since:
7.14.0
  • Constructor Details

  • Method Details

    • getClusterNode

      public @Nullable ClusterNodeInformation getClusterNode()
      Returns:
      the cluster node that this execution runs on, or null on a non-clustered instance
    • getCompletionStage

      public CompletionStage<T> getCompletionStage()
      Returns:
      the asynchronous outcome of the execution