Package org.opensearch.common.recycler
Class NoneRecycler.NV<T>
java.lang.Object
org.opensearch.common.recycler.NoneRecycler.NV<T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Releasable
,Recycler.V<T>
- Enclosing class:
- NoneRecycler<T>
Generic no value recycler
- Opensearch.internal:
-
Method Details
-
v
Description copied from interface:Recycler.V
Reference to the value.- Specified by:
v
in interfaceRecycler.V<T>
-
isRecycled
public boolean isRecycled()Description copied from interface:Recycler.V
Whether this instance has been recycled (true) or newly allocated (false).- Specified by:
isRecycled
in interfaceRecycler.V<T>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceReleasable
-