|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.network.ServerStatusTablePerspective
public class ServerStatusTablePerspective
Encapsulates information for ServerStatusUpdateProcess so can view from perspective on any server--not just the localhost server.
| Field Summary | |
|---|---|
java.util.Set<StatusTableRowRange> |
coreServers
The status table row ranges for core servers. |
java.lang.String |
host
The host name (or IP address) for the server from which we wish to gather the status table info. |
java.util.Set<StatusTableRowRange> |
nonCoreServers
The status table row ranges for non-core servers. |
| Constructor Summary | |
|---|---|
ServerStatusTablePerspective(java.lang.String host)
Encapsulates information for ServerStatusUpdateProcess so can view from perspective on any server--not just the localhost server. |
|
| Method Summary | |
|---|---|
boolean |
addCoreServerRowRange(StatusTableRowRange range)
Add range for non-core servers. |
boolean |
addNonCoreServerRowRange(StatusTableRowRange range)
Add range for non-core servers. |
java.util.Set<java.lang.String> |
getConnectedCoreServerHosts()
Returns all the core servers to which a particular server is connected. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String host
The host name (or IP address) for the server from which we wish to gather the status table info. (I.e. from this server's perspective.)
public final java.util.Set<StatusTableRowRange> coreServers
The status table row ranges for core servers.
public final java.util.Set<StatusTableRowRange> nonCoreServers
The status table row ranges for non-core servers.
| Constructor Detail |
|---|
public ServerStatusTablePerspective(java.lang.String host)
Encapsulates information for ServerStatusUpdateProcess so can view from perspective on any server--not just the localhost server.
host - The host name (or IP address) for the server from which we wish to gather the status table info. (I.e. from this server's perspective.)| Method Detail |
|---|
public java.util.Set<java.lang.String> getConnectedCoreServerHosts()
Returns all the core servers to which a particular server is connected.
public boolean addCoreServerRowRange(StatusTableRowRange range)
Add range for non-core servers.
range -
public boolean addNonCoreServerRowRange(StatusTableRowRange range)
Add range for non-core servers.
range -
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||