|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HostMapper
HostMapper is responsible for mapping hosts to IDs. It can be thought of as an internal analogy of DNS.
Method Summary | |
---|---|
boolean |
containsHost(int id)
Indicates whether this manager contains a host with the specified ID. |
boolean |
containsHost(String name)
Indicates, whether this manager contains a host with the specified URL. |
int |
getHostId(String name)
Returns ID of the host with the specified URL. |
String |
getHostName(int hostid)
Returns host name for the specified ID. |
void |
loadHosts(RDBLayer db)
Loads managed hosts from the specified DB. |
Method Detail |
---|
void loadHosts(RDBLayer db)
String getHostName(int hostid)
int getHostId(String name)
boolean containsHost(String name)
boolean containsHost(int id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |