Package org.apache.cassandra.concurrent
Class DebuggableTask.RunningDebuggableTask
- java.lang.Object
-
- org.apache.cassandra.concurrent.DebuggableTask.RunningDebuggableTask
-
- All Implemented Interfaces:
DebuggableTask
- Enclosing interface:
- DebuggableTask
public static class DebuggableTask.RunningDebuggableTask extends java.lang.Object implements DebuggableTask
Wraps aDebuggableTaskto include the name of the thread running it.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.concurrent.DebuggableTask
DebuggableTask.CallableDebuggableTask<T>, DebuggableTask.RunnableDebuggableTask, DebuggableTask.RunningDebuggableTask
-
-
Constructor Summary
Constructors Constructor Description RunningDebuggableTask(java.lang.String threadId, DebuggableTask task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcreationTimeNanos()java.lang.Stringdescription()booleanhasTask()longstartTimeNanos()java.lang.StringthreadId()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.concurrent.DebuggableTask
elapsedSinceCreation
-
-
-
-
Constructor Detail
-
RunningDebuggableTask
public RunningDebuggableTask(java.lang.String threadId, DebuggableTask task)
-
-
Method Detail
-
threadId
public java.lang.String threadId()
-
hasTask
public boolean hasTask()
-
creationTimeNanos
public long creationTimeNanos()
- Specified by:
creationTimeNanosin interfaceDebuggableTask
-
startTimeNanos
public long startTimeNanos()
- Specified by:
startTimeNanosin interfaceDebuggableTask
-
description
public java.lang.String description()
- Specified by:
descriptionin interfaceDebuggableTask
-
-