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 Collector
Creates the collector to be wrapped with aProfilerCollector
final ProfilerCollector
reduce
(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:
newCollector
in interfaceCollectorManager<ProfilerCollector,
ProfilerCollectorResult> - Throws:
IOException
-
reduce
- Specified by:
reduce
in interfaceCollectorManager<ProfilerCollector,
ProfilerCollectorResult> - Throws:
IOException
-