Class NoneRecycler<T>
- java.lang.Object
-
- org.elasticsearch.common.recycler.NoneRecycler<T>
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,Releasable,Recycler<T>
public class NoneRecycler<T> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNoneRecycler.NV<T>-
Nested classes/interfaces inherited from interface org.elasticsearch.common.recycler.Recycler
Recycler.C<T>, Recycler.Factory<T>, Recycler.V<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Recycler.C<T>c
-
Constructor Summary
Constructors Constructor Description NoneRecycler(Recycler.C<T> c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Recycler.V<T>obtain()Recycler.V<T>obtain(int sizing)
-
-
-
Field Detail
-
c
protected final Recycler.C<T> c
-
-
Constructor Detail
-
NoneRecycler
public NoneRecycler(Recycler.C<T> c)
-
-
Method Detail
-
obtain
public Recycler.V<T> obtain(int sizing)
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceRecycler<T>- Specified by:
closein interfaceReleasable
-
obtain
public Recycler.V<T> obtain()
-
-