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()
getAckProcessorjava.lang.String
getName()
getNameAckReader.AckReaderState
getState()
getStatevoid
pause()
pausevoid
resume(java.util.concurrent.ScheduledThreadPoolExecutor executor)
resumevoid
setAckProcessor(AckProcessor ackProcessor)
setAckProcessorvoid
setName(java.lang.String name)
setNamevoid
start(java.util.concurrent.ScheduledThreadPoolExecutor executor, ReaderSchedule schedule, boolean reloadConfig)
startvoid
stop()
stop
-
-
-
Method Detail
-
start
void start(java.util.concurrent.ScheduledThreadPoolExecutor executor, ReaderSchedule schedule, boolean reloadConfig)
start
- Parameters:
executor
- aScheduledThreadPoolExecutor
object.schedule
- aReaderSchedule
object.reloadConfig
- a boolean.
-
pause
void pause()
pause
-
resume
void resume(java.util.concurrent.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.
-
getName
java.lang.String getName()
getName
- Returns:
- a
String
object.
-
setName
void setName(java.lang.String name)
setName
- Parameters:
name
- aString
object.
-
-