Package | Description |
---|---|
org.opennms.netmgt.ackd | |
org.opennms.netmgt.ackd.readers |
Modifier and Type | Method and Description |
---|---|
void |
AckReader.start(ScheduledThreadPoolExecutor executor,
ReaderSchedule schedule,
boolean reloadConfig)
start
|
Modifier and Type | Method and Description |
---|---|
static ReaderSchedule |
ReaderSchedule.createSchedule()
createSchedule
|
static ReaderSchedule |
ReaderSchedule.createSchedule(long initDelay,
long interval,
int attempts,
TimeUnit unit)
createSchedule
|
static ReaderSchedule |
ReaderSchedule.createSchedule(long interval,
String unit)
Creates a proper
ReaderSchedule based by computing a new interval based on the
string representation of units from the ackd-configuration:
hours(h), days(d), minutes(m), seconds(s), milliseconds(ms)
note: if the specification in the configuration is seconds (s) or milliseconds (ms), then no computation is made
to adjust the interval. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAckReader.start(ScheduledThreadPoolExecutor executor,
ReaderSchedule schedule,
boolean reloadConfig)
start
|
Copyright © 2021. All rights reserved.