Interface TaskHolder

All Known Implementing Classes:
NoopTaskHolder

public interface TaskHolder
Provides identifying information for a task. Implementations return null when used in server processes that are not CliPeon.
  • Method Details

    • getDataSource

      @Nullable String getDataSource()
      Returns:
      the datasource name for the task, or null if called from a server that is not CliPeon.
    • getTaskId

      @Nullable String getTaskId()
      Returns:
      the taskId, or null if called from a server that is not CliPeon.
    • getTaskType

      @Nullable String getTaskType()
      Returns:
      the type name of this task, or null if called from a server that is not CliPeon.
    • getGroupId

      @Nullable String getGroupId()
      Returns:
      the group ID of this task, or null if called from a server that is not CliPeon.
    • getMetricDimensions

      Map<String,String> getMetricDimensions()
      Returns:
      a map of task holder dimensions, or an empty map if called from a server that is not CliPeon.