public class DefaultAckReader extends Object implements AckReader, org.springframework.beans.factory.InitializingBean
AckReader.AckReaderState| Constructor and Description | 
|---|
DefaultAckReader()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterPropertiesSet()
afterPropertiesSet 
 | 
AckdConfigurationDao | 
getAckdConfigDao()
getAckdConfigDao 
 | 
AckProcessor | 
getAckProcessor()
getAckProcessor 
 | 
Future<?> | 
getFuture()
getFuture 
 | 
String | 
getName()
getName 
 | 
AckReader.AckReaderState | 
getState()
getState 
 | 
void | 
pause()
pause 
 | 
void | 
resume(ScheduledThreadPoolExecutor executor)
resume 
 | 
void | 
setAckdConfigDao(AckdConfigurationDao ackdConfigDao)
setAckdConfigDao 
 | 
void | 
setAckProcessor(AckProcessor ackProcessor)
setAckProcessor 
 | 
void | 
setName(String name)
setName 
 | 
void | 
start(ScheduledThreadPoolExecutor executor,
     ReaderSchedule schedule,
     boolean reloadConfig)
start 
 | 
void | 
stop()
stop 
 | 
String | 
toString() | 
public void afterPropertiesSet()
                        throws Exception
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException - if any.public void start(ScheduledThreadPoolExecutor executor, ReaderSchedule schedule, boolean reloadConfig) throws IllegalStateException
start
start in interface AckReaderexecutor - a ScheduledThreadPoolExecutor object.schedule - a ReaderSchedule object.reloadConfig - a boolean.IllegalStateExceptionpublic void pause()
           throws IllegalStateException
pause
pause in interface AckReaderIllegalStateException - if any.public void resume(ScheduledThreadPoolExecutor executor) throws IllegalStateException
resume
resume in interface AckReaderexecutor - a ScheduledThreadPoolExecutor object.IllegalStateExceptionpublic void stop()
          throws IllegalStateException
stop
stop in interface AckReaderIllegalStateException - if any.public void setAckProcessor(AckProcessor ackProcessor)
setAckProcessor
setAckProcessor in interface AckReaderackProcessor - a AckProcessor object.public AckProcessor getAckProcessor()
getAckProcessor
getAckProcessor in interface AckReaderAckProcessor object.public void setAckdConfigDao(AckdConfigurationDao ackdConfigDao)
setAckdConfigDao
ackdConfigDao - a AckdConfigurationDao object.public AckdConfigurationDao getAckdConfigDao()
getAckdConfigDao
AckdConfigurationDao object.public AckReader.AckReaderState getState()
getState
public String getName()
getName
Copyright © 2021. All rights reserved.