|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.web.loadbalancer.monitor.AbstractMonitor
org.jboss.web.loadbalancer.monitor.ECVMonitorService
public class ECVMonitorService
A Monitor implementation that does a RegExp-check of the content.
| Field Summary | |
|---|---|
protected gnu.regexp.RE |
regExp
|
| Fields inherited from class org.jboss.web.loadbalancer.monitor.AbstractMonitor |
|---|
interval, keepRunning, log, monitorThread, path, scheduler, schedulerObjectName, timeout |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.web.loadbalancer.monitor.ECVMonitorServiceMBean |
|---|
OBJECT_NAME |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
|---|---|
ECVMonitorService()
|
|
| Method Summary | |
|---|---|
protected boolean |
checkHostStatus(org.apache.commons.httpclient.HttpMethod method)
Override this method to create new monitors. |
String |
getRegExp()
|
protected boolean |
matchRegExp(String string)
|
void |
setRegExp(String regExp)
|
| Methods inherited from class org.jboss.web.loadbalancer.monitor.AbstractMonitor |
|---|
checkHost, destroyService, getInterval, getPath, getScheduler, getTimeout, isKeepRunning, monitorHosts, run, setInterval, setKeepRunning, setPath, setScheduler, setTimeout, startService, stopService |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.web.loadbalancer.monitor.AbstractMonitorMBean |
|---|
getInterval, getPath, getScheduler, getTimeout, setInterval, setPath, setScheduler, setTimeout |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Field Detail |
|---|
protected gnu.regexp.RE regExp
| Constructor Detail |
|---|
public ECVMonitorService()
| Method Detail |
|---|
protected boolean checkHostStatus(org.apache.commons.httpclient.HttpMethod method)
AbstractMonitor
checkHostStatus in class AbstractMonitorprotected boolean matchRegExp(String string)
public void setRegExp(String regExp)
throws gnu.regexp.REException
setRegExp in interface ECVMonitorServiceMBeangnu.regexp.REExceptionpublic String getRegExp()
getRegExp in interface ECVMonitorServiceMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||