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 aDebuggableTask
to 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 long
creationTimeNanos()
java.lang.String
description()
boolean
hasTask()
long
startTimeNanos()
java.lang.String
threadId()
-
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:
creationTimeNanos
in interfaceDebuggableTask
-
startTimeNanos
public long startTimeNanos()
- Specified by:
startTimeNanos
in interfaceDebuggableTask
-
description
public java.lang.String description()
- Specified by:
description
in interfaceDebuggableTask
-
-