public class MBodyMutableGroupDescStats extends MBodyGroupDescStats implements MutableStructure
MBodyGroupDescStats.MBodyGroupDescStats.Array, MBodyGroupDescStats.MutableArrayversion| Constructor and Description |
|---|
MBodyMutableGroupDescStats(ProtocolVersion pv) |
| Modifier and Type | Method and Description |
|---|---|
MBodyMutableGroupDescStats |
buckets(List<Bucket> bkts)
Sets the buckets for this group; Since 1.1.
|
MBodyMutableGroupDescStats |
groupId(GroupId groupId)
Sets the group ID; Since 1.1.
|
MBodyMutableGroupDescStats |
groupType(GroupType groupType)
Sets the group Type; Since 1.1.
|
OpenflowStructure |
toImmutable()
Returns an immutable instance of this structure.
|
String |
toString() |
boolean |
writable()
Returns true if this mutable object is still writable.
|
getBuckets, getGroupId, getTotalLength, getType, toDebugString, toDebugString, validategetVersion, hex, hexclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersion, toDebugStringpublic MBodyMutableGroupDescStats(ProtocolVersion pv)
public boolean writable()
MutableObject#toImmutable() method (defined on a sub-interface)
has not yet been invoked.writable in interface MutableObjectpublic OpenflowStructure toImmutable()
MutableStructure
It is expected that the reference to this mutable structure will be
dropped. Note that all method calls invoked on a
MutableStructure after toImmutable() has been invoked
will result in an InvalidMutableException being thrown.
toImmutable in interface MutableStructurepublic String toString()
toString in class MBodyGroupDescStatspublic MBodyMutableGroupDescStats groupId(GroupId groupId)
groupId - the group IDInvalidMutableException - if this instance is no longer writableNullPointerException - if groupId is nullpublic MBodyMutableGroupDescStats groupType(GroupType groupType)
groupType - the group typeInvalidMutableException - if this instance is no longer writableNullPointerException - if groupType is nullpublic MBodyMutableGroupDescStats buckets(List<Bucket> bkts)
bkts - the number of bucketsInvalidMutableException - if this instance is no longer writableCopyright © 2014. All Rights Reserved.