jbora
Class View

java.lang.Object
  extended byjbora.View

public class View
extends Object

A set of group members as provided by the underlying GC tool.

Author:
Milan Prica

Method Summary
 boolean equals(Object o)
          Returns true if the view is equal to another (comparison is based on view identifiers).
 ProcessID[] getMembers()
          Members of this View.
 boolean isPrimary()
          Return true if this view is primary, false otherwise.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMembers

public ProcessID[] getMembers()
Members of this View.

Returns:
Array of processes (in the same order everywhere).

isPrimary

public boolean isPrimary()
Return true if this view is primary, false otherwise.


equals

public boolean equals(Object o)
Returns true if the view is equal to another (comparison is based on view identifiers). The previous implementation compared membership, rather than view identifiers.

Parameters:
o - View to compare
Returns:
True if two views are equals