Class DefaultPipeline
java.lang.Object
io.aleph0.yap.core.pipeline.DefaultPipeline
- All Implemented Interfaces:
Measureable<Pipeline.Metrics>,Pipeline
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.aleph0.yap.core.Pipeline
Pipeline.LifecycleListener, Pipeline.Metrics -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultPipeline
-
-
Method Details
-
addLifecycleListener
- Specified by:
addLifecycleListenerin interfacePipeline
-
removeLifecycleListener
- Specified by:
removeLifecycleListenerin interfacePipeline
-
getId
-
start
-
cancel
-
await
- Specified by:
awaitin interfacePipeline- Throws:
InterruptedExceptionExecutionExceptionCancellationException
-
checkMetrics
Description copied from interface:MeasureableNon-destructive check of the metrics. This should be used to check the state of metrics without clearing them, for example in aTaskController.- Specified by:
checkMetricsin interfaceMeasureable<Pipeline.Metrics>- Returns:
- the metrics
-
flushMetrics
Description copied from interface:MeasureableDestructive read of the metrics. This should be used to check and reset the state of metrics, for example by the metrics checking thread.- Specified by:
flushMetricsin interfaceMeasureable<Pipeline.Metrics>- Returns:
- the metrics
-