|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.common.SessionMBeanBase
org.hyperic.hq.measurement.server.mbean.AvailabilityCheckService
public class AvailabilityCheckService
This job is responsible for filling in missing availabilty metric values.
Constructor Summary | |
---|---|
AvailabilityCheckService()
|
Method Summary | |
---|---|
void |
destroy()
|
long |
getInterval()
Get the interval for how often this mbean is called |
long |
getWait()
Get the wait for how long after service starts to backfill |
void |
hit(java.util.Date lDate)
This method ignores the date which is passed in, the reason for this is that we have seen instances where the JBoss Timer service produces an invalid date which is in the past. |
protected void |
hitInSession(java.util.Date lDate)
|
void |
hitWithDate(java.util.Date lDate)
This method is used mainly for the unittest from AvailabilityManager_testEJBImpl.invokeBackfiller() |
void |
init()
|
void |
setInterval(long interval)
Set the interval for how often this mbean is called |
void |
setWait(long wait)
Set the wait for how long after service starts to backfill |
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvailabilityCheckService()
Method Detail |
---|
public void hitWithDate(java.util.Date lDate)
hitWithDate
in interface org.hyperic.hq.measurement.server.mbean.AvailabilityCheckServiceMBean
public void hit(java.util.Date lDate)
hit
in interface org.hyperic.hq.measurement.server.mbean.AvailabilityCheckServiceMBean
hit
in class SessionMBeanBase
protected void hitInSession(java.util.Date lDate)
hitInSession
in class SessionMBeanBase
public long getInterval()
getInterval
in interface org.hyperic.hq.measurement.server.mbean.AvailabilityCheckServiceMBean
public void setInterval(long interval)
setInterval
in interface org.hyperic.hq.measurement.server.mbean.AvailabilityCheckServiceMBean
public long getWait()
getWait
in interface org.hyperic.hq.measurement.server.mbean.AvailabilityCheckServiceMBean
public void setWait(long wait)
setWait
in interface org.hyperic.hq.measurement.server.mbean.AvailabilityCheckServiceMBean
public void init()
init
in interface org.hyperic.hq.measurement.server.mbean.AvailabilityCheckServiceMBean
public void start() throws java.lang.Exception
start
in interface org.hyperic.hq.measurement.server.mbean.AvailabilityCheckServiceMBean
java.lang.Exception
public void stop()
stop
in interface org.hyperic.hq.measurement.server.mbean.AvailabilityCheckServiceMBean
public void destroy()
destroy
in interface org.hyperic.hq.measurement.server.mbean.AvailabilityCheckServiceMBean
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |