public interface StoredGroupEntry extends Group
Group.GroupStateGroupDescription.Type| Modifier and Type | Method and Description |
|---|---|
void |
incrFailedRetryCount()
Increments the count for the number of failed attempts in programming
this group.
|
boolean |
isGroupStateAddedFirstTime()
Returns the isGroupStateAddedFirstTime value.
|
void |
setBytes(long bytes)
Sets number of bytes processed by this group entry.
|
void |
setFailedRetryCount(int failedRetryCount)
Sets the count for the number of failed attempts in programming this
group.
|
void |
setIsGroupStateAddedFirstTime(boolean isGroupAddedFirstTime)
Sets if group has transitioned to ADDED state for the first time.
|
void |
setLife(long life)
Sets how long this entry has been entered in the system.
|
void |
setPackets(long packets)
Sets number of packets processed by this group entry.
|
void |
setReferenceCount(long referenceCount)
Sets number of flow rules or groups referencing this group entry.
|
void |
setState(Group.GroupState newState)
Sets the new state for this entry.
|
age, bytes, failedRetryCount, id, life, packets, referenceCount, stateappCookie, appId, buckets, deviceId, givenGroupId, typevoid setState(Group.GroupState newState)
newState - new group entry state.void setIsGroupStateAddedFirstTime(boolean isGroupAddedFirstTime)
isGroupAddedFirstTime - true if group moves to ADDED state
for the first time.boolean isGroupStateAddedFirstTime()
void setLife(long life)
life - epoch timevoid setPackets(long packets)
packets - a long valuevoid setBytes(long bytes)
bytes - a long valuevoid setReferenceCount(long referenceCount)
referenceCount - reference countvoid incrFailedRetryCount()
void setFailedRetryCount(int failedRetryCount)
failedRetryCount - count for number of failed attempts in
programming this group