Package voldemort.utils.pool

Resource pool implementation which works! Used on the client side for storing the pool of connections.

See:
          Description

Interface Summary
AsyncResourceRequest<V> Interface for asynchronous requests for resources.
ResourceFactory<K,V> Basic interface for poolable Object Factory
 

Class Summary
KeyedResourcePool<K,V> A simple implementation of a per-key resource pool.
KeyedResourcePool.Pool<V> A fixed size pool that uses an ArrayBlockingQueue.
QueuedKeyedResourcePool<K,V> Extends simple implementation of a per-key resource pool with a non-blocking interface to enqueue requests for a resource when one becomes available.
ResourcePoolConfig Resource pool config class.
 

Exception Summary
ExcessiveInvalidResourcesException Indicates that we have exceeded the maximum number of successive invalid resources that can be created in a single checkout.
 

Package voldemort.utils.pool Description

Resource pool implementation which works! Used on the client side for storing the pool of connections.



Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu