Class DequeRecycler<T>
java.lang.Object
org.elasticsearch.common.recycler.DequeRecycler<T>
- All Implemented Interfaces:
Recycler<T>
- Direct Known Subclasses:
ConcurrentDequeRecycler
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.recycler.Recycler
Recycler.C<T>, Recycler.Factory<T>, Recycler.V<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterRelease(boolean recycled)
Called after a release.protected boolean
Called before releasing an object, returns true if the object should be recycled and false otherwise.obtain()
-
Field Details
-
c
-
-
Constructor Details
-
DequeRecycler
-
-
Method Details
-
obtain
-
beforeRelease
protected boolean beforeRelease()Called before releasing an object, returns true if the object should be recycled and false otherwise. -
afterRelease
protected void afterRelease(boolean recycled)Called after a release.
-