org.jgroups
Class MergeView
- Cloneable, Externalizable
A view that is sent as result of a merge.
subgroups
protected Vector subgroups
MergeView
public MergeView()
Used by externalization
MergeView
public MergeView(Address creator,
long id,
Vector members,
Vector subgroups) Creates a new view
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 subgroups
MergeView
public MergeView(ViewId vid,
Vector members,
Vector subgroups) Creates a new view
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 subgroups
clone
public Object clone()
creates a copy of this view
- clone in interface View
- a copy of this view
getSubgroups
public Vector getSubgroups()
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException- readExternal in interface View
toString
public String toString()
- toString in interface View
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException- writeExternal in interface View
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.