Interface TaskGlobalContext


public interface TaskGlobalContext
Provides contextual information for TaskGlobalObject.prepareForTask(int, TaskGlobalContext).
  • Method Details

    • getReplicaId

      int getReplicaId()
      Returns replica ID of this task thread.
      See Also:
    • getModuleInstanceInfo

      ModuleInstanceInfo getModuleInstanceInfo()
      Returns information about current module.
    • getTaskGroup

      Set<Integer> getTaskGroup()
      Returns set of all task IDs in the task group where this task global is being prepared.
      See Also:
    • getVarName

      String getVarName()
      Returns the var name assigned to this object in the module definition.
    • getClusterRetriever

      ClusterManagerBase getClusterRetriever()
      Returns ClusterManagerBase instance for retrieving foreign clients. This is for advanced usage, and using explicit mirrors should be strongly preferred.
    • getLogThrottler

      Object getLogThrottler()
      Return a log throttler instance for the current context. The returned type is opaque to java.