|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.mcast.View
public class View
Encapsulates the addresses of the nodes that compose an event channel. An
instance of this class is encapsulated by an EventChannel. Its
provides a "view" of the domain.
An instance of this class encapsulates the address of each of the sibling of
an EventChannel node.
| Nested Class Summary | |
|---|---|
static class |
View.AddressList
|
| Constructor Summary | |
|---|---|
View(long timeout)
Constructor for View. |
|
| Method Summary | |
|---|---|
ServerAddress |
getAddressFor(java.lang.String node)
Returns the ServerAddress corresponding to the given
node. |
java.util.List |
getHosts()
Returns this instance's List of ServerAddresses. |
void |
setTimeout(long timeout)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public View(long timeout)
| Method Detail |
|---|
public java.util.List getHosts()
List of ServerAddresses.
List of ServerAddresses.public ServerAddress getAddressFor(java.lang.String node)
ServerAddress corresponding to the given
node.
ServerAddress.public void setTimeout(long timeout)
timeout - the timeout after which nodes that haven't sent a heartbeat
are removed from this instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||