Package org.opennms.netmgt.ackd
Interface AckReader
-
- All Known Implementing Classes:
DefaultAckReader
public interface AckReader
Acknowledgment reader API- Version:
- $Id: $
- Author:
- David Hustace, Jeff Gehlbach, David Hustace, Jeff Gehlbach
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AckReader.AckReaderState
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AckProcessor
getAckProcessor()
getAckProcessorString
getName()
getNameAckReader.AckReaderState
getState()
getStatevoid
pause()
pausevoid
resume(ScheduledThreadPoolExecutor executor)
resumevoid
setAckProcessor(AckProcessor ackProcessor)
setAckProcessorvoid
setName(String name)
setNamevoid
start(ScheduledThreadPoolExecutor executor, ReaderSchedule schedule, boolean reloadConfig)
startvoid
stop()
stop
-
-
-
Method Detail
-
start
void start(ScheduledThreadPoolExecutor executor, ReaderSchedule schedule, boolean reloadConfig)
start
- Parameters:
executor
- aScheduledThreadPoolExecutor
object.schedule
- aReaderSchedule
object.reloadConfig
- a boolean.
-
pause
void pause()
pause
-
resume
void resume(ScheduledThreadPoolExecutor executor)
resume
- Parameters:
executor
- aScheduledThreadPoolExecutor
object.
-
stop
void stop()
stop
-
setAckProcessor
void setAckProcessor(AckProcessor ackProcessor)
setAckProcessor
- Parameters:
ackProcessor
- aAckProcessor
object.
-
getAckProcessor
AckProcessor getAckProcessor()
getAckProcessor
- Returns:
- a
AckProcessor
object.
-
getState
AckReader.AckReaderState getState()
getState
- Returns:
- a
AckReader.AckReaderState
object.
-
-