Uses of Package
stormpot

Packages that use stormpot
Package
Description
Stormpot
 
  • Classes in stormpot used by stormpot
    Class
    Description
    An Allocator is responsible for the creation and destruction of Poolable objects.
    A basic implementation of the Poolable interface, which can be extended directly.
    A Completion represents some task that is going to be completed at some point in the future, or maybe already has completed.
    The expiration is used to determine if a given slot has expired, or otherwise become invalid.
    This is the JMX management interface for Stormpot object pools.
    A MetricsRecorder implementation supplies the pool with the ability to record and report operational metrics.
    A Pool is a self-renewable set of objects from which one can claim exclusive access to elements, until they are released back into the pool.
    Objects contained in a Pool must implement the Poolable interface and adhere to its contract.
    The PoolBuilder collects information about how big a pool should be, and how it should allocate objects, and so on, and finally acts as the factory for building the pool instances themselves, with the PoolBuilder.build() method.
    A reference to a pooled object.
    The PoolException may be thrown by a pool implementation in a number of circumstances: If claim is called and the pool needs to allocate a new object, but the allocation fails by returning null or throwing an exception. Likewise if the Reallocator.reallocate(Slot, Poolable) method return null or throw an exception. If the Slot.release(Poolable) method is misused, and the pool is able to detect this. If the expiration check throws an exception.
    A PoolTap provides the API for accessing objects in a Pool.
    Reallocators are a special kind of Allocator that can reallocate Poolables that have expired.
    A Slot represents a location in a Pool where objects can be allocated into, so that they can be claimed and released.
    An informative interface, used by Expiration instances to determine if a slot has expired or is still invalid for claiming.
    A Timeout represents the maximum amount of time a caller is willing to wait for a blocking operation to complete.
  • Classes in stormpot used by stormpot.internal
    Class
    Description
    An Allocator is responsible for the creation and destruction of Poolable objects.
    A Completion represents some task that is going to be completed at some point in the future, or maybe already has completed.
    The expiration is used to determine if a given slot has expired, or otherwise become invalid.
    This is the JMX management interface for Stormpot object pools.
    A MetricsRecorder implementation supplies the pool with the ability to record and report operational metrics.
    A Pool is a self-renewable set of objects from which one can claim exclusive access to elements, until they are released back into the pool.
    Objects contained in a Pool must implement the Poolable interface and adhere to its contract.
    The PoolBuilder collects information about how big a pool should be, and how it should allocate objects, and so on, and finally acts as the factory for building the pool instances themselves, with the PoolBuilder.build() method.
    The PoolException may be thrown by a pool implementation in a number of circumstances: If claim is called and the pool needs to allocate a new object, but the allocation fails by returning null or throwing an exception. Likewise if the Reallocator.reallocate(Slot, Poolable) method return null or throw an exception. If the Slot.release(Poolable) method is misused, and the pool is able to detect this. If the expiration check throws an exception.
    A PoolTap provides the API for accessing objects in a Pool.
    Reallocators are a special kind of Allocator that can reallocate Poolables that have expired.
    A Slot represents a location in a Pool where objects can be allocated into, so that they can be claimed and released.
    An informative interface, used by Expiration instances to determine if a slot has expired or is still invalid for claiming.
    A Timeout represents the maximum amount of time a caller is willing to wait for a blocking operation to complete.