public class MergeView extends View
| Constructor and Description | 
|---|
| MergeView()Used by externalization | 
| MergeView(Address creator,
         long id,
         List<Address> members,
         List<View> subgroups)Creates a new view | 
| MergeView(ViewId vid,
         List<Address> members,
         List<View> subgroups)Creates a new view | 
| Modifier and Type | Method and Description | 
|---|---|
| View | copy() | 
| List<View> | getSubgroups() | 
| void | readFrom(DataInput in)Read the state of the current object (including superclasses) from instream
 Note that the input stream must not be closed | 
| int | serializedSize() | 
| String | toString() | 
| void | writeTo(DataOutput out)Write the entire state of the current object (including superclasses) to outstream. | 
compareTo, containsMember, equals, getCreator, getMembers, getVid, getViewId, hashCode, iterator, sizepublic MergeView()
public MergeView(ViewId vid, List<Address> members, List<View> subgroups)
vid - The view id of this view (can not be null)members - Contains a list of all the members in the view, can be empty but not null.subgroups - A list of Views representing the former subgroupspublic MergeView(Address creator, long id, List<Address> members, List<View> subgroups)
creator - The creator of this view (can not be null)id - The lamport timestamp of this viewmembers - Contains a list of all the members in the view, can be empty but not null.subgroups - A list of Views representing the former subgroupspublic void writeTo(DataOutput out) throws Exception
StreamablewriteTo in interface StreamablewriteTo in class ViewExceptionpublic void readFrom(DataInput in) throws Exception
StreamablereadFrom in interface StreamablereadFrom in class ViewExceptionpublic int serializedSize()
serializedSize in class ViewCopyright © 2012 JBoss by Red Hat. All Rights Reserved.