Class AbstractRecyclerC<T>
java.lang.Object
org.elasticsearch.common.recycler.AbstractRecyclerC<T>
- All Implemented Interfaces:
Recycler.C<T>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractRecyclerC
public AbstractRecyclerC()
-
-
Method Details
-
newInstance
Description copied from interface:Recycler.CCreate a new empty instance of the given size.- Specified by:
newInstancein interfaceRecycler.C<T>
-
recycle
Description copied from interface:Recycler.CRecycle the data. This operation is called when the data structure is released.- Specified by:
recyclein interfaceRecycler.C<T>
-
destroy
Description copied from interface:Recycler.CDestroy the data. This operation allows the data structure to release any internal resources before GC.- Specified by:
destroyin interfaceRecycler.C<T>
-