Class PostgresVertxProcessorNotifier
java.lang.Object
no.skatteetaten.fastsetting.formueinntekt.felles.task.processor.jdbc.PostgresVertxProcessorNotifier
- All Implemented Interfaces:
ProcessorNotifier
-
Constructor Summary
ConstructorsConstructorDescriptionPostgresVertxProcessorNotifier(io.vertx.pgclient.pubsub.PgSubscriber subscriber, Runnable onDisconnect, Collection<? extends TaskProcessor> processors, BiConsumer<TaskProcessor, TaskChangeEvent> callback) -
Method Summary
-
Constructor Details
-
PostgresVertxProcessorNotifier
public PostgresVertxProcessorNotifier(io.vertx.pgclient.pubsub.PgSubscriber subscriber, Runnable onDisconnect, Collection<? extends TaskProcessor> processors, BiConsumer<TaskProcessor, TaskChangeEvent> callback)
-
-
Method Details
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceProcessorNotifier
-
start
public boolean start()- Specified by:
startin interfaceProcessorNotifier
-
stop
public boolean stop()- Specified by:
stopin interfaceProcessorNotifier
-