Package org.infinispan.tasks
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 TypeMethodDescriptiongetName()Returns the name of the taskgetStart()Returns the time when the task was startedgetWhat()An optional context to which the task was applied.getWhere()The node/address where the task was initiatedgetWho()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
An optional name of the principal who has executed this task. If the task was triggered internally, this method will return an emptyOptional -
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
-