Uses of Interface
org.apache.cassandra.net.ResourceLimits.Limit
Packages that use ResourceLimits.Limit
-
Uses of ResourceLimits.Limit in org.apache.cassandra.net
Classes in org.apache.cassandra.net that implement ResourceLimits.LimitModifier and TypeClassDescriptionstatic classA cheaper, thread-unsafe permit container to be used for unshared limits.static classA thread-safe permit container.Fields in org.apache.cassandra.net declared as ResourceLimits.LimitModifier and TypeFieldDescriptionfinal ResourceLimits.LimitOutboundConnectionSettings.applicationSendQueueReserveGlobalCapacityInBytesprotected final ResourceLimits.LimitAbstractMessageHandler.endpointReserveCapacityprotected final ResourceLimits.LimitAbstractMessageHandler.globalReserveCapacityMethods in org.apache.cassandra.net that return ResourceLimits.LimitModifier and TypeMethodDescriptionOutboundConnectionSettings.applicationSendQueueReserveGlobalCapacityInBytes()ResourceLimits.EndpointAndGlobal.endpoint()ResourceLimits.EndpointAndGlobal.global()Methods in org.apache.cassandra.net with parameters of type ResourceLimits.LimitModifier and TypeMethodDescriptionprotected ResourceLimits.OutcomeAbstractMessageHandler.acquireCapacity(ResourceLimits.Limit endpointReserve, ResourceLimits.Limit globalReserve, int bytes) protected booleanAbstractMessageHandler.acquireCapacity(ResourceLimits.Limit endpointReserve, ResourceLimits.Limit globalReserve, int bytes, long currentTimeNanos, long expiresAtNanos) Try to acquire permits for the inbound message.AbstractMessageHandler.WaitQueue.endpoint(ResourceLimits.Limit endpointReserveCapacity) AbstractMessageHandler.WaitQueue.global(ResourceLimits.Limit globalReserveCapacity) protected abstract booleanAbstractMessageHandler.processFirstFrameOfLargeMessage(FrameDecoder.IntactFrame frame, ResourceLimits.Limit endpointReserve, ResourceLimits.Limit globalReserve) protected booleanInboundMessageHandler.processFirstFrameOfLargeMessage(FrameDecoder.IntactFrame frame, ResourceLimits.Limit endpointReserve, ResourceLimits.Limit globalReserve) protected abstract booleanAbstractMessageHandler.processOneContainedMessage(ShareableBytes bytes, ResourceLimits.Limit endpointReserve, ResourceLimits.Limit globalReserve) protected booleanInboundMessageHandler.processOneContainedMessage(ShareableBytes bytes, ResourceLimits.Limit endpointReserve, ResourceLimits.Limit globalReserve) protected booleanAbstractMessageHandler.processUpToOneMessage(ResourceLimits.Limit endpointReserve, ResourceLimits.Limit globalReserve) OutboundConnectionSettings.withApplicationReserveSendQueueCapacityInBytes(Integer applicationReserveSendQueueEndpointCapacityInBytes, ResourceLimits.Limit applicationReserveSendQueueGlobalCapacityInBytes) Constructors in org.apache.cassandra.net with parameters of type ResourceLimits.LimitModifierConstructorDescriptionAbstractMessageHandler(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) -
Uses of ResourceLimits.Limit in org.apache.cassandra.transport
Methods in org.apache.cassandra.transport with parameters of type ResourceLimits.LimitModifier and TypeMethodDescriptionstatic OverloadedExceptionCQLMessageHandler.buildOverloadedException(ResourceLimits.Limit endpointReserve, ResourceLimits.Limit globalReserve, NonBlockingRateLimiter requestRateLimiter, ClientResourceLimits.Overload overload) protected booleanCQLMessageHandler.processFirstFrameOfLargeMessage(FrameDecoder.IntactFrame frame, ResourceLimits.Limit endpointReserve, ResourceLimits.Limit globalReserve) protected booleanCQLMessageHandler.processOneContainedMessage(ShareableBytes bytes, ResourceLimits.Limit endpointReserve, ResourceLimits.Limit globalReserve) Checks limits on bytes in flight and the request rate limiter (if enabled), then takes one of three actions: 1.) If no limits are breached, process the request.