Class JdbcPersistentTaskProcessor
java.lang.Object
no.skatteetaten.fastsetting.formueinntekt.felles.task.processor.jdbc.JdbcPersistentTaskProcessor
- All Implemented Interfaces:
TaskProcessor
- Direct Known Subclasses:
OraclePersistentTaskProcessor,PostgresPersistentTaskProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.task.processor.TaskProcessor
TaskProcessor.Activation -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTopic()booleaninitialize(long timeout, TimeUnit timeUnit) booleanisActive()booleanresume()booleanbooleanbooleanprotected voidwrite(TaskProcessor.Activation activation)
-
Field Details
-
CHANGE_LOG
- See Also:
-
dataSource
-
-
Constructor Details
-
JdbcPersistentTaskProcessor
-
-
Method Details
-
start
- Specified by:
startin interfaceTaskProcessor- Throws:
TimeoutExceptionInterruptedException
-
stop
- Specified by:
stopin interfaceTaskProcessor- Throws:
TimeoutExceptionInterruptedException
-
resume
public boolean resume()- Specified by:
resumein interfaceTaskProcessor
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceTaskProcessor
-
getTopic
- Specified by:
getTopicin interfaceTaskProcessor
-
findActivation
- Specified by:
findActivationin interfaceTaskProcessor
-
initialize
public boolean initialize(long timeout, TimeUnit timeUnit) throws TimeoutException, InterruptedException - Specified by:
initializein interfaceTaskProcessor- Throws:
TimeoutExceptionInterruptedException
-
shutdown
public boolean shutdown(long timeout, TimeUnit timeUnit) throws TimeoutException, InterruptedException - Specified by:
shutdownin interfaceTaskProcessor- Throws:
TimeoutExceptionInterruptedException
-
write
-