Package org.onosproject.net.behaviour
Interface PipelinerContext
-
public interface PipelinerContext
Processing context and supporting services for the pipeline behaviour.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default int
accumulatorMaxBatchMillis()
Returns the maximum number of millis allowed since the first objective before processing is triggered.default int
accumulatorMaxIdleMillis()
Returns the maximum number of millis between objectives before processing is triggered.default int
accumulatorMaxObjectives()
Returns the maximum number of objectives to accumulate before processing is triggered.org.onlab.osgi.ServiceDirectory
directory()
Returns the service directory which can be used to obtain references to various supporting services.FlowObjectiveStore
store()
Returns the Objective Store where data can be stored and retrieved.
-
-
-
Method Detail
-
directory
org.onlab.osgi.ServiceDirectory directory()
Returns the service directory which can be used to obtain references to various supporting services.- Returns:
- service directory
-
store
FlowObjectiveStore store()
Returns the Objective Store where data can be stored and retrieved.- Returns:
- the flow objective store
-
accumulatorMaxObjectives
default int accumulatorMaxObjectives()
Returns the maximum number of objectives to accumulate before processing is triggered.- Returns:
- the maximum number of objectives. -1 if the method is not implemented.
-
accumulatorMaxIdleMillis
default int accumulatorMaxIdleMillis()
Returns the maximum number of millis between objectives before processing is triggered.- Returns:
- the maximum number of millis between objectives. -1 if the method is not implemented.
-
accumulatorMaxBatchMillis
default int accumulatorMaxBatchMillis()
Returns the maximum number of millis allowed since the first objective before processing is triggered.- Returns:
- the maximum number of millis allowed since the first objective. -1 if the method is not implemented.
-
-