public abstract class ResourceLimits
extends java.lang.Object
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.
|
static class |
ResourceLimits.EndpointAndGlobal
A convenience class that groups a per-endpoint limit with the global one
to allow allocating/releasing permits from/to both limits as one logical operation.
|
static interface |
ResourceLimits.Limit
Represents permits to utilise a resource and ways to allocate and release them.
|
static class |
ResourceLimits.Outcome |
Constructor and Description |
---|
ResourceLimits() |
Copyright © 2009-2021 The Apache Software Foundation