jgroup
Interface View


public interface View

The Partitionable Group Membership Service contained in Jgroup tracks changes in the group's composition and installs them as views at member objects. Installated views are an abstraction of the current environment with respect to failures and recoveries. Member objects can obtain information about the current view through the View interface. Each view is uniquely identified by a view identifier, that can be obtained by invoking method getVid. The composition of the view may be obtained by invoking method getMembers.

Since:
Jgroup 0.1
Author:
Alberto Montresor

Method Summary
 int getGid()
          Returns the identifier of the group for which this view has been generated.
 MemberId[] getMembers()
          Returns an array of MemberIds identifying the members included in this view.
 long getVid()
          Returns the identifier of this view.
 

Method Detail

getGid

public int getGid()
Returns the identifier of the group for which this view has been generated.

getVid

public long getVid()
Returns the identifier of this view.

getMembers

public MemberId[] getMembers()
Returns an array of MemberIds identifying the members included in this view.