| Package | Description |
|---|---|
| org.elasticsearch.common.recycler |
| Modifier and Type | Method and Description |
|---|---|
static <T> Recycler.Factory<T> |
Recyclers.dequeFactory(Recycler.C<T> c,
int limit)
Return a recycler based on a deque.
|
| Modifier and Type | Method and Description |
|---|---|
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 from
concurrencyLevel threads with little contention. |
Copyright © 2009–2017. All rights reserved.