Interface TaskExecution

All Known Implementing Classes:
TaskExecutionImpl

public interface TaskExecution
TaskExecution. Contains information about a running task
Since:
8.1
Author:
Tristan Tarrant
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the task
    Returns the time when the task was started
    An optional context to which the task was applied.
    The node/address where the task was initiated
    An optional name of the principal who has executed this task.
  • Method Details

    • getName

      String getName()
      Returns the name of the task
    • getStart

      Instant getStart()
      Returns the time when the task was started
    • getWho

      Optional<String> getWho()
      An optional name of the principal who has executed this task. If the task was triggered internally, this method will return an empty Optional
    • getWhat

      Optional<String> getWhat()
      An optional context to which the task was applied. Usually the name of a cache
    • getWhere

      String getWhere()
      The node/address where the task was initiated