|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.retail.si.mgmt.svc.ManagementAgentService
Class that runs a MgmtAgent instance as a service by executing a simple health task in a Timer
Constructor Summary | |
---|---|
ManagementAgentService(com.ibm.retail.si.mgmt.MgmtAgent agent)
|
Method Summary | |
---|---|
long |
getTaskFrequency()
|
void |
setTaskFrequency(long l)
|
void |
start()
Starts the timer with the agent health task |
void |
stop()
Cancels the health task timer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ManagementAgentService(com.ibm.retail.si.mgmt.MgmtAgent agent) throws MgmtException
Method Detail |
public void start()
public void stop()
public long getTaskFrequency()
public void setTaskFrequency(long l)
l
- New task frequency (in ms). Service must be restarted for changes to take effectgetTaskFrequency()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |