|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.poller.pollables.PollableServiceConfig
public class PollableServiceConfig
Represents a PollableServiceConfig
| Constructor Summary | |
|---|---|
PollableServiceConfig(PollableService svc,
PollerConfig pollerConfig,
PollOutagesConfig pollOutagesConfig,
Package pkg,
Timer timer)
Constructor for PollableServiceConfig. |
|
| Method Summary | |
|---|---|
long |
getCurrentTime()
getCurrentTime |
long |
getInterval()
getInterval |
PollStatus |
poll()
poll |
void |
refresh()
Uses the existing package name to try and re-obtain the package from the poller config factory. |
void |
refreshThresholds()
Should be called when thresholds configuration has been reloaded |
boolean |
scheduledSuspension()
scheduledSuspension |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PollableServiceConfig(PollableService svc,
PollerConfig pollerConfig,
PollOutagesConfig pollOutagesConfig,
Package pkg,
Timer timer)
Constructor for PollableServiceConfig.
svc - a PollableService object.pollerConfig - a PollerConfig object.pollOutagesConfig - a PollOutagesConfig object.pkg - a Package object.timer - a Timer object.| Method Detail |
|---|
public PollStatus poll()
poll
poll in interface PollConfigPollStatus object.public void refresh()
refresh in interface PollConfigpublic void refreshThresholds()
refreshThresholds in interface PollConfigpublic long getCurrentTime()
getCurrentTime
getCurrentTime in interface PollConfiggetCurrentTime in interface Timerpublic long getInterval()
getInterval
getInterval in interface ScheduleIntervalpublic boolean scheduledSuspension()
scheduledSuspension
scheduledSuspension in interface ScheduleInterval
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||