Package org.apache.cassandra.transport
Class Dispatcher.RequestProcessor
java.lang.Object
org.apache.cassandra.transport.Dispatcher.RequestProcessor
- All Implemented Interfaces:
Runnable,DebuggableTask,DebuggableTask.RunnableDebuggableTask
- Enclosing class:
- Dispatcher
public class Dispatcher.RequestProcessor
extends Object
implements DebuggableTask.RunnableDebuggableTask
It is important to keep this class an instance of
DebuggableTask, either runnable or callable since this
is the only way we can keep it not wrapped into a callable on SEPExecutor submission path. And we need this
functionality for tracking time purposes.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.concurrent.DebuggableTask
DebuggableTask.CallableDebuggableTask<T>, DebuggableTask.RunnableDebuggableTask, DebuggableTask.RunningDebuggableTask -
Constructor Summary
ConstructorsConstructorDescriptionRequestProcessor(io.netty.channel.Channel channel, Message.Request request, org.apache.cassandra.transport.Dispatcher.FlushItemConverter forFlusher, ClientResourceLimits.Overload backpressure) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.concurrent.DebuggableTask
elapsedSinceCreation
-
Constructor Details
-
RequestProcessor
public RequestProcessor(io.netty.channel.Channel channel, Message.Request request, org.apache.cassandra.transport.Dispatcher.FlushItemConverter forFlusher, ClientResourceLimits.Overload backpressure)
-
-
Method Details
-
run
public void run() -
creationTimeNanos
public long creationTimeNanos()- Specified by:
creationTimeNanosin interfaceDebuggableTask
-
startTimeNanos
public long startTimeNanos()- Specified by:
startTimeNanosin interfaceDebuggableTask
-
description
- Specified by:
descriptionin interfaceDebuggableTask
-
toString
-