public interface GroupBucket
| Modifier and Type | Method and Description | 
|---|---|
long | 
bytes()
Returns the number of bytes processed by this group bucket. 
 | 
boolean | 
hasSameParameters(GroupBucket other)
Returns whether the given group bucket has the same parameters (weight,
 watchPort and watchGroup) as this. 
 | 
long | 
packets()
Returns the number of packets processed by this group bucket. 
 | 
TrafficTreatment | 
treatment()
Returns list of Traffic instructions that are part of the bucket. 
 | 
GroupDescription.Type | 
type()
Returns group type of the bucket. 
 | 
GroupId | 
watchGroup()
Returns group identifier used for liveness detection for a
 failover bucket. 
 | 
PortNumber | 
watchPort()
Returns port number used for liveness detection for a
 failover bucket. 
 | 
short | 
weight()
Returns weight of select group bucket. 
 | 
GroupDescription.Type type()
TrafficTreatment treatment()
short weight()
PortNumber watchPort()
GroupId watchGroup()
long packets()
long bytes()
boolean hasSameParameters(GroupBucket other)
other - group bucket to compare