Package org.infinispan.tasks
Interface TaskExecution
-
public interface TaskExecution
TaskExecution. Contains information about a running task- Since:
- 8.1
- Author:
- Tristan Tarrant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Returns the name of the taskInstant
getStart()
Returns the time when the task was startedOptional<String>
getWhat()
An optional context to which the task was applied.String
getWhere()
The node/address where the task was initiatedOptional<String>
getWho()
An optional name of the principal who has executed this task.
-
-
-
Method Detail
-
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 emptyOptional
-
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
-
-