Package elki.parallel.processor
Interface Processor
-
- All Known Implementing Classes:
AbstractDoubleProcessor
,DoubleMinMaxProcessor
,KDistanceProcessor
,KMeansProcessor
,KNNProcessor
,KNNWeightProcessor
,LOFProcessor
,LRDProcessor
,ParallelGeneralizedDBSCAN.Instance
,SimplifiedLRDProcessor
,WriteDataStoreProcessor
,WriteDoubleDataStoreProcessor
,WriteIntegerDataStoreProcessor
public interface Processor
Class to represent a processor factory.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Processor.Instance
Instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cleanup(Processor.Instance inst)
Invoke cleanup.Processor.Instance
instantiate(Executor executor)
Create an instance.
-
-
-
Method Detail
-
instantiate
Processor.Instance instantiate(Executor executor)
Create an instance. May be called multiple times, for example for multiple threads.- Parameters:
executor
- Job executor- Returns:
- Instance
-
cleanup
void cleanup(Processor.Instance inst)
Invoke cleanup.- Parameters:
inst
- Instance to cleanup.
-
-