|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This provides a MBean accessible interface for setting domain configuration
Method Summary | |
org.w3c.dom.Element |
getConfiguration()
The getDomains method |
long |
getDefaultTimeDelay()
|
long |
getHeartbeatTimeDelay()
The amount of time to wait between sending (and sometimes receiving) detection messages. |
void |
setConfiguration(org.w3c.dom.Element xml)
set the configuration for the domains to be recognized by detector |
void |
setDefaultTimeDelay(long defaultTimeDelay)
The amount of time which can elapse without receiving a detection event before a server will be suspected as being dead and peroforming an explicit invocation on it to verify it is alive. |
void |
setHeartbeatTimeDelay(long heartbeatTimeDelay)
The amount of time to wait between sending (and sometimes receiving) detection messages. |
Method Detail |
public void setConfiguration(org.w3c.dom.Element xml) throws java.lang.Exception
xml
-
java.lang.Exception
public org.w3c.dom.Element getConfiguration()
getDomains
method
Element
valuepublic void setHeartbeatTimeDelay(long heartbeatTimeDelay) throws ConfigurationException (src)
heartbeatTimeDelay
-
ConfigurationException (src)
public long getHeartbeatTimeDelay()
public void setDefaultTimeDelay(long defaultTimeDelay) throws ConfigurationException (src)
defaultTimeDelay
- time in milliseconds
ConfigurationException (src)
public long getDefaultTimeDelay()
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |