@Beta public final class PiTableEntry extends Object
| 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.
|
boolean |
equals(Object o) |
Optional<PiFieldMatch> |
fieldMatch(PiHeaderFieldId fieldId)
If present, returns the field match associated with the given header field identifier.
|
Collection<PiFieldMatch> |
fieldMatches()
Returns an immutable view of the field matches of this table entry.
|
int |
hashCode() |
Optional<Integer> |
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 Collection<PiFieldMatch> fieldMatches()
public Optional<PiFieldMatch> fieldMatch(PiHeaderFieldId fieldId)
fieldId - field identifierpublic PiTableAction action()
public long cookie()
public Optional<Integer> priority()
public Optional<Double> timeout()
public static PiTableEntry.Builder builder()