| Package | Description |
|---|---|
| org.apache.cassandra.net | |
| org.apache.cassandra.transport |
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceLimits.Basic
A cheaper, thread-unsafe permit container to be used for unshared limits.
|
static class |
ResourceLimits.Concurrent
A thread-safe permit container.
|
| Modifier and Type | Field and Description |
|---|---|
ResourceLimits.Limit |
OutboundConnectionSettings.applicationSendQueueReserveGlobalCapacityInBytes |
protected ResourceLimits.Limit |
AbstractMessageHandler.endpointReserveCapacity |
protected ResourceLimits.Limit |
AbstractMessageHandler.globalReserveCapacity |
| Modifier and Type | Method and Description |
|---|---|
ResourceLimits.Limit |
OutboundConnectionSettings.applicationSendQueueReserveGlobalCapacityInBytes() |
ResourceLimits.Limit |
ResourceLimits.EndpointAndGlobal.endpoint() |
ResourceLimits.Limit |
ResourceLimits.EndpointAndGlobal.global() |
| Modifier and Type | Method and Description |
|---|---|
protected ResourceLimits.Outcome |
AbstractMessageHandler.acquireCapacity(ResourceLimits.Limit endpointReserve,
ResourceLimits.Limit globalReserve,
int bytes) |
protected boolean |
AbstractMessageHandler.acquireCapacity(ResourceLimits.Limit endpointReserve,
ResourceLimits.Limit globalReserve,
int bytes,
long currentTimeNanos,
long expiresAtNanos)
Try to acquire permits for the inbound message.
|
static AbstractMessageHandler.WaitQueue |
AbstractMessageHandler.WaitQueue.endpoint(ResourceLimits.Limit endpointReserveCapacity) |
static AbstractMessageHandler.WaitQueue |
AbstractMessageHandler.WaitQueue.global(ResourceLimits.Limit globalReserveCapacity) |
protected abstract boolean |
AbstractMessageHandler.processFirstFrameOfLargeMessage(FrameDecoder.IntactFrame frame,
ResourceLimits.Limit endpointReserve,
ResourceLimits.Limit globalReserve) |
protected boolean |
InboundMessageHandler.processFirstFrameOfLargeMessage(FrameDecoder.IntactFrame frame,
ResourceLimits.Limit endpointReserve,
ResourceLimits.Limit globalReserve) |
protected abstract boolean |
AbstractMessageHandler.processOneContainedMessage(ShareableBytes bytes,
ResourceLimits.Limit endpointReserve,
ResourceLimits.Limit globalReserve) |
protected boolean |
InboundMessageHandler.processOneContainedMessage(ShareableBytes bytes,
ResourceLimits.Limit endpointReserve,
ResourceLimits.Limit globalReserve) |
OutboundConnectionSettings |
OutboundConnectionSettings.withApplicationReserveSendQueueCapacityInBytes(java.lang.Integer applicationReserveSendQueueEndpointCapacityInBytes,
ResourceLimits.Limit applicationReserveSendQueueGlobalCapacityInBytes) |
| Constructor and Description |
|---|
AbstractMessageHandler(FrameDecoder decoder,
io.netty.channel.Channel channel,
int largeThreshold,
long queueCapacity,
ResourceLimits.Limit endpointReserveCapacity,
ResourceLimits.Limit globalReserveCapacity,
AbstractMessageHandler.WaitQueue endpointWaitQueue,
AbstractMessageHandler.WaitQueue globalWaitQueue,
AbstractMessageHandler.OnHandlerClosed onClosed) |
EndpointAndGlobal(ResourceLimits.Limit endpoint,
ResourceLimits.Limit global) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
CQLMessageHandler.processFirstFrameOfLargeMessage(FrameDecoder.IntactFrame frame,
ResourceLimits.Limit endpointReserve,
ResourceLimits.Limit globalReserve) |
protected boolean |
CQLMessageHandler.processOneContainedMessage(ShareableBytes bytes,
ResourceLimits.Limit endpointReserve,
ResourceLimits.Limit globalReserve) |
Copyright © 2009-2020 The Apache Software Foundation