java.lang.Object
com.intellij.util.containers.LimitedPool<T>
- Direct Known Subclasses:
LimitedPool.Sync
A simple object pool which instantiates objects on-demand and keeps up to the given number of objects for later reuse.
Note: the class is not thread-safe; use synchronized version for concurrent access.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final class -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LimitedPool
-
-
Method Details
-
alloc
-
recycle
-