- All Superinterfaces:
java.lang.AutoCloseable
, java.io.Closeable
, org.elasticsearch.common.lease.Releasable
- All Known Implementing Classes:
NoneRecycler.NV
- Enclosing interface:
- Recycler<T>
public static interface Recycler.V<T>
extends org.elasticsearch.common.lease.Releasable
-
Method Summary
Modifier and Type |
Method |
Description |
boolean |
isRecycled() |
Whether this instance has been recycled (true) or newly allocated (false).
|
T |
v() |
Reference to the value.
|
Methods inherited from interface org.elasticsearch.common.lease.Releasable
close
-
Method Details
-
v
Reference to the value.
-
isRecycled
boolean isRecycled()
Whether this instance has been recycled (true) or newly allocated (false).