public class Dispatcher
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Dispatcher.RequestProcessor
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. |
static class |
Dispatcher.RequestTime |
Constructor and Description |
---|
Dispatcher(boolean useLegacyFlusher) |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(io.netty.channel.Channel channel,
Message.Request request,
org.apache.cassandra.transport.Dispatcher.FlushItemConverter forFlusher,
ClientResourceLimits.Overload backpressure) |
boolean |
hasQueueCapacity()
Checks if the item in the head of the queue has spent more than allowed time in the queue.
|
static void |
shutdown() |
public void dispatch(io.netty.channel.Channel channel, Message.Request request, org.apache.cassandra.transport.Dispatcher.FlushItemConverter forFlusher, ClientResourceLimits.Overload backpressure)
public boolean hasQueueCapacity()
public static void shutdown()
Copyright © 2009- The Apache Software Foundation