Package org.apache.lucene.sandbox.search
Class ProfilerCollectorManager
java.lang.Object
org.apache.lucene.sandbox.search.ProfilerCollectorManager
- All Implemented Interfaces:
CollectorManager<ProfilerCollector,ProfilerCollectorResult>
public abstract class ProfilerCollectorManager
extends Object
implements CollectorManager<ProfilerCollector,ProfilerCollectorResult>
Collector manager for
ProfilerCollector-
Constructor Summary
ConstructorsConstructorDescriptionProfilerCollectorManager(String reason) Creates a profiler collector manager provided a certain reason -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract CollectorCreates the collector to be wrapped with aProfilerCollectorfinal ProfilerCollectorreduce(Collection<ProfilerCollector> collectors)
-
Constructor Details
-
ProfilerCollectorManager
Creates a profiler collector manager provided a certain reason- Parameters:
reason- the reason for the collection
-
-
Method Details
-
createCollector
Creates the collector to be wrapped with aProfilerCollector- Throws:
IOException
-
newCollector
- Specified by:
newCollectorin interfaceCollectorManager<ProfilerCollector,ProfilerCollectorResult> - Throws:
IOException
-
reduce
- Specified by:
reducein interfaceCollectorManager<ProfilerCollector,ProfilerCollectorResult> - Throws:
IOException
-