|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbstractDetectorMBean
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. |
Methods inherited from interface org.jboss.remoting.detection.Detector |
---|
start, stop |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Method Detail |
---|
void setConfiguration(org.w3c.dom.Element xml) throws java.lang.Exception
xml
-
java.lang.Exception
org.w3c.dom.Element getConfiguration()
getDomains
method
Element
valuevoid setHeartbeatTimeDelay(long heartbeatTimeDelay)
heartbeatTimeDelay
-
java.lang.IllegalArgumentException
long getHeartbeatTimeDelay()
void setDefaultTimeDelay(long defaultTimeDelay) throws java.lang.IllegalArgumentException
defaultTimeDelay
- time in milliseconds
java.lang.IllegalArgumentException
long getDefaultTimeDelay()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |