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 the
SharedExecutorPool to provide more
detailed diagnostics.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic classWraps aDebuggableTaskto include the name of the thread running it. -
Method Summary
Modifier and TypeMethodDescriptionlongdefault longlong
-
Method Details
-
elapsedSinceCreation
default long elapsedSinceCreation() -
creationTimeNanos
long creationTimeNanos() -
startTimeNanos
long startTimeNanos() -
description
String description()
-