public interface FlowEntry extends FlowRule
Modifier and Type | Interface and Description |
---|---|
static class |
FlowEntry.FlowEntryState |
static class |
FlowEntry.FlowLiveType |
FlowRule.Builder, FlowRule.FlowRemoveReason
DEFAULT_TABLE, MAX_PRIORITY, MAX_TIMEOUT, MIN_PRIORITY
Modifier and Type | Method and Description |
---|---|
long |
bytes()
Returns the number of bytes this flow rule has matched.
|
int |
errCode()
Indicates the error code.
|
int |
errType()
Indicates the error type.
|
long |
lastSeen()
When this flow entry was last deemed active.
|
long |
life()
Returns the number of seconds this flow rule has been applied.
|
long |
life(java.util.concurrent.TimeUnit unit)
Returns the time this flow rule has been applied.
|
FlowEntry.FlowLiveType |
liveType()
Gets the flow live type for this entry.
|
long |
packets()
Returns the number of packets this flow rule has matched.
|
FlowEntry.FlowEntryState |
state()
Returns the flow entry state.
|
FlowEntry.FlowEntryState state()
long life()
FlowEntry.FlowLiveType liveType()
long life(java.util.concurrent.TimeUnit unit)
unit
- time unit the result will be converted toTimeUnit
long packets()
long bytes()
long lastSeen()
int errType()
int errCode()