Package org.apache.cassandra.concurrent
Interface DebuggableTask
-
- All Known Subinterfaces:
DebuggableTask.CallableDebuggableTask<T>
,DebuggableTask.RunnableDebuggableTask
- All Known Implementing Classes:
DebuggableTask.RunningDebuggableTask
,Dispatcher.RequestProcessor
,StorageProxy.LocalReadRunnable
public interface DebuggableTask
Interface to include on a Runnable or Callable submitted to theSharedExecutorPool
to provide more detailed diagnostics.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DebuggableTask.CallableDebuggableTask<T>
static interface
DebuggableTask.RunnableDebuggableTask
static class
DebuggableTask.RunningDebuggableTask
Wraps aDebuggableTask
to include the name of the thread running it.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description long
creationTimeNanos()
java.lang.String
description()
default long
elapsedSinceCreation()
long
startTimeNanos()
-