Class MergerFactoryImpl
java.lang.Object
org.elasticsearch.exponentialhistogram.MergerFactoryImpl
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.lucene.util.Accountable,Releasable,ExponentialHistogramMerger.Factory
-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Creates a newExponentialHistogramMerger.protected voidlongMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
Method Details
-
createMerger
Description copied from interface:ExponentialHistogramMerger.FactoryCreates a newExponentialHistogramMerger. All mergers created by this factory must not be used concurrently.- Specified by:
createMergerin interfaceExponentialHistogramMerger.Factory
-
maybeReleaseMemory
protected void maybeReleaseMemory() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceReleasable
-
ramBytesUsed
public long ramBytesUsed()- Specified by:
ramBytesUsedin interfaceorg.apache.lucene.util.Accountable
-