Package org.apache.accumulo.tserver
Class RunnableStartedAt
- java.lang.Object
-
- java.util.AbstractMap.SimpleEntry<ActiveAssignmentRunnable,Long>
-
- org.apache.accumulo.tserver.RunnableStartedAt
-
- All Implemented Interfaces:
Serializable
,Map.Entry<ActiveAssignmentRunnable,Long>
public class RunnableStartedAt extends AbstractMap.SimpleEntry<ActiveAssignmentRunnable,Long>
Encapsulation of a task and the time it began execution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RunnableStartedAt(ActiveAssignmentRunnable task, Long startedAtMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getStartTime()
ActiveAssignmentRunnable
getTask()
-
-
-
Constructor Detail
-
RunnableStartedAt
public RunnableStartedAt(ActiveAssignmentRunnable task, Long startedAtMillis)
-
-
Method Detail
-
getTask
public ActiveAssignmentRunnable getTask()
- Returns:
- The task being executed
-
getStartTime
public Long getStartTime()
- Returns:
- The time, in millis, that the runnable was submitted at
-
-