public class VOMSServerMap
extends java.lang.Object
VOMSServerMap
organizes voms servers found in vomses configuration files
in map keyed by vo. This way is easy to know which servers acts as replicas for the
same vos. For more info about vomses configuration files, see VOMSESFileParser
.Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
map |
Constructor and Description |
---|
VOMSServerMap() |
Modifier and Type | Method and Description |
---|---|
void |
add(VOMSServerInfo info) |
java.util.Set |
get(java.lang.String nick) |
void |
merge(VOMSServerMap other)
Merge this map with another
VOMSServerMap object. |
int |
serverCount(java.lang.String nick) |
java.lang.String |
toString() |
public void add(VOMSServerInfo info)
public java.util.Set get(java.lang.String nick)
public int serverCount(java.lang.String nick)
public void merge(VOMSServerMap other)
VOMSServerMap
object.other
- public java.lang.String toString()
toString
in class java.lang.Object