Module org.elasticsearch.security
Class SecureBytesRefRecycler
java.lang.Object
org.elasticsearch.xpack.security.support.SecureBytesRefRecycler
- All Implemented Interfaces:
Recycler<org.apache.lucene.util.BytesRef>
public final class SecureBytesRefRecycler
extends Object
implements Recycler<org.apache.lucene.util.BytesRef>
A
Recycler for BytesRef pages which clears the obtained pages on release, out of an abundance of caution when the pages
may contain sensitive data.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.recycler.Recycler
Recycler.C<T>, Recycler.Factory<T>, Recycler.V<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRecycler.V<org.apache.lucene.util.BytesRef> obtain()intpageSize()