Package com.rpl.rama.integration
Interface TaskGlobalContext
public interface TaskGlobalContext
Provides contextual information for
TaskGlobalObject.prepareForTask(int, TaskGlobalContext).-
Method Summary
Modifier and TypeMethodDescriptionReturns ClusterManagerBase instance for retrieving foreign clients.Return a log throttler instance for the current context.Returns information about current module.intReturns replica ID of this task thread.Returns set of all task IDs in the task group where this task global is being prepared.Returns the var name assigned to this object in the module definition.
-
Method Details
-
getReplicaId
int getReplicaId()Returns replica ID of this task thread.- See Also:
-
getModuleInstanceInfo
ModuleInstanceInfo getModuleInstanceInfo()Returns information about current module. -
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.
-