|
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.measurement.server.session.SessionEJB
org.hyperic.hq.measurement.server.session.SRNManagerEJBImpl
public class SRNManagerEJBImpl
The tracker manager handles sending agents add and remove operations for the log and config track plugsin.
Field Summary |
---|
Fields inherited from class org.hyperic.hq.measurement.server.session.SessionEJB |
---|
_mpm, DATASOURCE_NAME |
Constructor Summary | |
---|---|
SRNManagerEJBImpl()
|
Method Summary | |
---|---|
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbPostCreate()
|
void |
ejbRemove()
|
ScheduleRevNum |
get(AppdefEntityID aid)
Get a SRN |
static org.hyperic.hq.measurement.shared.SRNManagerLocal |
getOne()
|
java.util.List |
getOutOfSyncEntities()
Get a List of out-of-sync entities. |
java.util.List |
getOutOfSyncSRNs(int intervals)
Get the list of out-of-sync SRNs based on the number of intervals back to allow. |
int |
incrementSrn(AppdefEntityID aid,
long newMin)
Increment SRN for the given entity. |
void |
initializeCache()
Initialize the SRN Cache, or just return if it's already been initialized. |
ScheduleRevNum |
refreshSRN(AppdefEntityID eid)
Refresh the SRN for the given entity. |
void |
removeSrn(AppdefEntityID aid)
Remove a SRN. |
java.util.Collection |
reportAgentSRNs(SRN[] srns)
Handle a SRN report from an agent. |
void |
reschedule(java.util.List aeids)
Reschedule metrics for an appdef entity. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
Methods inherited from class org.hyperic.hq.measurement.server.session.SessionEJB |
---|
checkDeletePermission, checkModifyPermission, checkTimeArguments, deleteMetricProblems, getAgent, getAgent, getAgentMan, getAuthzSubjectManager, getAvailabilityDataDAO, getBaselineDAO, getCategoryDAO, getDataMan, getInitialContext, getMeasurementDAO, getMeasurementTemplateDAO, getMetricProblemDAO, getMonitorableTypeDAO, getMPM, getProductMan, getResource, getScheduleRevNumDAO, getSRNManager, getTemplateMan |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SRNManagerEJBImpl()
Method Detail |
---|
public void ejbCreate() throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbPostCreate()
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext
in interface javax.ejb.SessionBean
public void initializeCache()
public ScheduleRevNum get(AppdefEntityID aid)
aid
- The entity id to lookup
public void removeSrn(AppdefEntityID aid)
aid
- The AppdefEntityID to remove.public int incrementSrn(AppdefEntityID aid, long newMin)
aid
- The AppdefEntityID to remove.newMin
- The new minimum interval
public java.util.Collection reportAgentSRNs(SRN[] srns)
srns
- The list of SRNs from the agent report.
public java.util.List getOutOfSyncEntities()
public java.util.List getOutOfSyncSRNs(int intervals)
intervals
- The number of intervals to go back
public ScheduleRevNum refreshSRN(AppdefEntityID eid)
eid
- The appdef entity to refresh
public void reschedule(java.util.List aeids) throws MeasurementScheduleException, MonitorAgentException, MeasurementUnscheduleException
AgentScheduleSynchronizer
List
- of AppdefEntityId
MeasurementScheduleException
MonitorAgentException
MeasurementUnscheduleException
public static org.hyperic.hq.measurement.shared.SRNManagerLocal getOne()
|
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 |