Modifier and Type | Class and Description |
---|---|
static class |
PiTableEntry.Builder |
Modifier and Type | Field and Description |
---|---|
static PiTableEntry |
EMTPY |
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.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
PiMatchKey |
matchKey()
Returns the match key of this table entry.
|
PiEntityType |
piEntityType()
Returns the type of this entity.
|
java.util.Optional<java.lang.Integer> |
priority()
Returns the priority of this table entry, if present.
|
PiTableId |
table()
Returns the table where this entry is installed.
|
java.util.Optional<java.lang.Double> |
timeout()
Returns the timeout in seconds of this table entry, if present.
|
java.lang.String |
toString() |
public static final PiTableEntry EMTPY
public PiTableId table()
public PiMatchKey matchKey()
public PiTableAction action()
public long cookie()
public java.util.Optional<java.lang.Integer> priority()
public java.util.Optional<java.lang.Double> timeout()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static PiTableEntry.Builder builder()
public PiEntityType piEntityType()
PiEntity
piEntityType
in interface PiEntity