public interface TrafficTreatment
Modifier and Type | Interface and Description |
---|---|
static interface |
TrafficTreatment.Builder
Builder of traffic treatment entities.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Instruction> |
allInstructions()
Returns the list of all instructions in the treatment, both immediate and
deferred.
|
boolean |
clearedDeferred()
Whether the deferred treatment instructions will be cleared
by the device.
|
java.util.List<Instruction> |
deferred()
Returns the list of treatment instructions that will be applied
further down the pipeline.
|
java.util.List<Instruction> |
immediate()
Returns the list of treatment instructions that will be applied
immediately.
|
Instructions.MeterInstruction |
metered()
Returns the meter instruction if there is one.
|
java.util.Set<Instructions.MeterInstruction> |
meters()
Returns the meter instructions if there is any.
|
Instructions.StatTriggerInstruction |
statTrigger()
Returns the stat trigger instruction if there is one.
|
Instructions.TableTypeTransition |
tableTransition()
Returns the next table in the pipeline.
|
Instructions.MetadataInstruction |
writeMetadata()
Returns the metadata instruction if there is one.
|
java.util.List<Instruction> deferred()
java.util.List<Instruction> immediate()
java.util.List<Instruction> allInstructions()
Instructions.TableTypeTransition tableTransition()
boolean clearedDeferred()
Instructions.MetadataInstruction writeMetadata()
Instructions.StatTriggerInstruction statTrigger()
Instructions.MeterInstruction metered()
java.util.Set<Instructions.MeterInstruction> meters()