Class LocalPool<B>
java.lang.Object
org.cojen.tupl.util.LocalPool<B>
Utility for sharing a small set of poolable objects (like buffers) which have thread
affinity. A thread should only request a single object from the pool to prevent deadlocks.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LocalPool
-
LocalPool
-
-
Method Details
-
access
Returns an available pooled object, blocking if necessary. -
clear
-