Interface OutboxCollector
- All Known Implementing Classes:
PartitionCollector,TaskBasedCollector
public interface OutboxCollector
-
Method Summary
-
Method Details
-
start
void start()Starts the collector -
stop
Stops the collector- Parameters:
waitMillis- millis to wait for a stopped collector.- Throws:
InterruptedException
-
isRunning
boolean isRunning()- Returns:
- true, if the collector is currently running
-
schedule
Schedules the collector execution for the given tenant- Parameters:
tenant- the tenantdelay- the delay in milliswithEmptyCheck- checks if empty before scheduling
-