Interface Recycler.V<T>
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,Releasable
- All Known Implementing Classes:
NoneRecycler.NV
public static interface Recycler.V<T> extends 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 Detail
-
v
T v()
Reference to the value.
-
isRecycled
boolean isRecycled()
Whether this instance has been recycled (true) or newly allocated (false).
-
-