|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeInfo
Contains all the basic information about a node
Method Summary | |
---|---|
int |
getFtpPort()
The port on which the ftp server listen |
java.lang.String |
getID()
|
java.lang.String |
getIpAddress()
Ip address of node ftp server |
double |
getLoad()
The current load of a node |
int |
getRole()
Role of a node. |
boolean |
isAvailable()
|
void |
setLoad(double load)
|
void |
setRole(int role)
|
Method Detail |
---|
java.lang.String getID()
int getRole()
Constants#MASTER
, Constants#SLAVE
, Constants#USER
double getLoad()
void setRole(int role)
void setLoad(double load)
java.lang.String getIpAddress()
int getFtpPort()
boolean isAvailable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |