|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ucsb.nceas.metacat.ReplicationServerList
A class represent a replication server list in xml_replcation table
Constructor Summary | |
ReplicationServerList()
constructor of ReplicationServerList It will build server list. |
Method Summary | |
void |
addToServerListIfItIsNot(java.lang.String givenServerName)
To a given server name, to check if it is in the server list. |
boolean |
getDataReplicationValue(java.lang.String givenServerName)
To a given server name, try to get its data file replciation option If couldn't find the server in the server list, false will return |
boolean |
getHubValue(java.lang.String givenServerName)
To a given server name, try to get its hub option If couldn't find the server in the server list, false will return |
java.lang.String |
getLastCheckedDate(java.lang.String givenServerName)
To a given server name, try to get its lastcheck date. |
boolean |
getReplicationValue(java.lang.String givenServerName)
To a given server name, try to get its xml replciation option If couldn't find the server in the server list, false will return |
boolean |
isEmpty()
Method to determine the server list is empty or not |
boolean |
isGivenServerInList(java.lang.String givenServerName)
Method to determine if a given server in the replication server list |
ReplicationServer |
serverAt(int index)
Method to get a server object given a index number |
int |
size()
Method to get the size of serverList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReplicationServerList()
Method Detail |
public boolean isEmpty()
public int size()
public ReplicationServer serverAt(int index)
public boolean isGivenServerInList(java.lang.String givenServerName)
public java.lang.String getLastCheckedDate(java.lang.String givenServerName)
public boolean getReplicationValue(java.lang.String givenServerName)
public boolean getDataReplicationValue(java.lang.String givenServerName)
public boolean getHubValue(java.lang.String givenServerName)
public void addToServerListIfItIsNot(java.lang.String givenServerName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |