Modifier and Type | Class and Description |
---|---|
static class |
PiTableEntry.Builder |
Modifier and Type | Method and Description |
---|---|
PiTableAction |
action()
Returns the action of this table entry.
|
static PiTableEntry.Builder |
builder()
Returns a table entry builder.
|
long |
cookie()
Returns the cookie of this table entry.
|
PiCounterCellData |
counter()
Returns the data of the counter cell associated with this table entry.
|
boolean |
equals(Object o) |
PiTableEntryHandle |
handle(DeviceId deviceId)
Returns a handle for this PI entity and the given device ID.
|
int |
hashCode() |
boolean |
isDefaultAction()
Returns true if this table entry contains the default action for this
table, a.k.a.
|
PiMatchKey |
matchKey()
Returns the match key of this table entry.
|
PiEntityType |
piEntityType()
Returns the type of this entity.
|
OptionalInt |
priority()
Returns the priority of this table entry, if present.
|
PiTableId |
table()
Returns the table where this entry is installed.
|
Optional<Double> |
timeout()
Returns the timeout in seconds of this table entry, if present.
|
String |
toString() |
public PiTableId table()
public PiMatchKey matchKey()
If isDefaultAction()
is true
this method returns the
empty match key (PiMatchKey.EMPTY
).
public PiTableAction action()
public boolean isDefaultAction()
public long cookie()
public OptionalInt priority()
public Optional<Double> timeout()
public PiCounterCellData counter()
public static PiTableEntry.Builder builder()
public PiEntityType piEntityType()
PiEntity
piEntityType
in interface PiEntity
public PiTableEntryHandle handle(DeviceId deviceId)
PiEntity