Uses of Interface
org.newsclub.net.unix.pool.ObjectPool.ObjectSanitizer
Packages that use ObjectPool.ObjectSanitizer
-
Uses of ObjectPool.ObjectSanitizer in org.newsclub.net.unix.pool
Methods in org.newsclub.net.unix.pool with parameters of type ObjectPool.ObjectSanitizerModifier and TypeMethodDescriptionstatic <O> ObjectPool<O> ObjectPool.newThreadLocalPool(ObjectPool.ObjectSupplier<@NonNull O> supplier, ObjectPool.ObjectSanitizer<@NonNull O> sanitizer) Creates a newObjectPoolthat is used within a single thread; this may or may not be implemented usingThreadLocal, however the behavior should be comparable.Constructors in org.newsclub.net.unix.pool with parameters of type ObjectPool.ObjectSanitizerModifierConstructorDescriptionConcurrentQueueObjectPool(ObjectPool.ObjectSupplier<@NonNull O> supplier, ObjectPool.ObjectSanitizer<@NonNull O> sanitizer, int maxCapacity) Constructs aConcurrentQueueObjectPoolwith the given capacity, supplier and sanitizer.