Package org.onosproject.net.group
Interface Group
- 
- All Superinterfaces:
- GroupDescription,- PiTranslatable
 - All Known Subinterfaces:
- StoredGroupEntry
 - All Known Implementing Classes:
- DefaultGroup
 
 public interface Group extends GroupDescription, PiTranslatable ONOS representation of group that is stored in the system.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classGroup.GroupStateState of the group object in ONOS.- 
Nested classes/interfaces inherited from interface org.onosproject.net.group.GroupDescriptionGroupDescription.Type
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intage()Obtains the age of a group.longbytes()Returns the number of bytes processed by this group.intfailedRetryCount()Returns the count for the number of attempts at programming a failed group.GroupIdid()Returns group identifier associated with a group object.longlife()Returns the number of milliseconds this group has been alive.longpackets()Returns the number of packets processed by this group.longreferenceCount()Returns the number of flow rules or other groups reference this group.Group.GroupStatestate()Returns current state of a group object.- 
Methods inherited from interface org.onosproject.net.group.GroupDescriptionappCookie, appId, buckets, deviceId, givenGroupId, type
 
- 
 
- 
- 
- 
Method Detail- 
idGroupId id() Returns group identifier associated with a group object.- Returns:
- GroupId Group Identifier
 
 - 
stateGroup.GroupState state() Returns current state of a group object.- Returns:
- GroupState Group State
 
 - 
lifelong life() Returns the number of milliseconds this group has been alive.- Returns:
- number of millis
 
 - 
packetslong packets() Returns the number of packets processed by this group.- Returns:
- number of packets
 
 - 
byteslong bytes() Returns the number of bytes processed by this group.- Returns:
- number of bytes
 
 - 
referenceCountlong referenceCount() Returns the number of flow rules or other groups reference this group.- Returns:
- number of flow rules or other groups pointing to this group
 
 - 
ageint age() Obtains the age of a group. The age reflects the number of polling rounds the group has had a reference count of zero.- Returns:
- the age of the group as an integer
 
 - 
failedRetryCountint failedRetryCount() Returns the count for the number of attempts at programming a failed group.- Returns:
- the count for the number of failed attempts at programming this group
 
 
- 
 
-