Package com.avoka.fc.core.outbox
Class OutboxThread
java.lang.Object
com.avoka.fc.core.outbox.OutboxThread
- All Implemented Interfaces:
Runnable
Provides an OutboxThread to pull events from queue send to OutboxProcessor to process.
This class follows the Producer/Consumer design pattern.
- Since:
- 22.10.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockingQueue<Long>
Return the Blocking Queue.If the thread is not running, it starts to runstatic Boolean
void
run()
consume the outbox queue and process