jgroup
Class DistributedSystem

java.lang.Object
  |
  +--jgroup.DistributedSystem
All Implemented Interfaces:
java.io.Serializable

public class DistributedSystem
extends java.lang.Object
implements java.io.Serializable

The DistributedSystem class is used to describe the distributed system in which the computation is carried on. How a distributed system is described depends on the specific implementation; for example, a distributed system may be described by a single multicast address, or a set of unicast addresses, or a combination of them. Here, we simply assume that the distributed system description is contained in a configuration file. The DistributedSystem instances store the pathnames of these configuration files.

Since:
Jgroup 0.8
Author:
Alberto Montresor, Hein Meling
See Also:
Serialized Form

Field Summary
private  java.lang.String configfile
           
private  java.lang.String configURL
           
 
Constructor Summary
private DistributedSystem()
          Disable default constructor.
  DistributedSystem(java.lang.String configfile)
          Instantiates a distributed system whose description is contained in configfile.
 
Method Summary
 java.lang.String getConfigfile()
          Returns the path to the config file.
 java.lang.String getConfigURL()
          Returns the path to the config file.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

configfile

private java.lang.String configfile

configURL

private java.lang.String configURL
Constructor Detail

DistributedSystem

private DistributedSystem()
Disable default constructor.

DistributedSystem

public DistributedSystem(java.lang.String configfile)
Instantiates a distributed system whose description is contained in configfile.
Parameters:
configfile - The pathname of the file containing the description of the distributed system.
Method Detail

getConfigfile

public java.lang.String getConfigfile()
Returns the path to the config file.

getConfigURL

public java.lang.String getConfigURL()
Returns the path to the config file.