Uses of Interface
org.elasticsearch.common.recycler.Recycler
-
Packages that use Recycler Package Description org.elasticsearch.common.recycler -
-
Uses of Recycler in org.elasticsearch.common.recycler
Classes in org.elasticsearch.common.recycler that implement Recycler Modifier and Type Class Description classConcurrentDequeRecycler<T>classDequeRecycler<T>classNoneRecycler<T>Methods in org.elasticsearch.common.recycler that return Recycler Modifier and Type Method Description Recycler<T>Recycler.Factory. build()static <T> Recycler<T>Recyclers. concurrent(Recycler.Factory<T> factory)static <T> Recycler<T>Recyclers. concurrent(Recycler.Factory<T> factory, int concurrencyLevel)Create a concurrent implementation that can support concurrent access fromconcurrencyLevelthreads with little contention.static <T> Recycler<T>Recyclers. concurrentDeque(Recycler.C<T> c, int limit)Return a concurrent recycler based on a deque.static <T> Recycler<T>Recyclers. deque(Recycler.C<T> c, int limit)Return a recycler based on a deque.static <T> Recycler<T>Recyclers. locked(Recycler<T> recycler)Wrap the provided recycler so that calls toobtain()andReleasable.close()are protected by a lock.static <T> Recycler<T>Recyclers. none(Recycler.C<T> c)Return aRecyclerthat never recycles entries.Methods in org.elasticsearch.common.recycler with parameters of type Recycler Modifier and Type Method Description static <T> Recycler<T>Recyclers. locked(Recycler<T> recycler)Wrap the provided recycler so that calls toobtain()andReleasable.close()are protected by a lock.
-