Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
class BatchCloseTimeoutException(val coordinatorName: String, val timeout: Duration) : IllegalStateException
Link copied to clipboard
class BatchCoordinator<T : Any>(val name: String, val options: BatchOptions, writer: BatchWriter<T>, keySelector: (T) -> Any = { Unit }, metrics: WowMetrics = WowMetrics.NONE) : GracefullyStoppable
Coordinates bounded, non-blocking admission and graceful shutdown for storage-independent reactive batches.
Link copied to clipboard
The terminal result for one input in a storage batch.
Link copied to clipboard
data class BatchOptions(val maxSize: Int = DEFAULT_MAX_SIZE, val maxDelay: Duration = DEFAULT_MAX_DELAY, val maxPendingItems: Int = DEFAULT_MAX_PENDING_ITEMS, val laneCount: Int = DEFAULT_LANE_COUNT)
Storage-independent limits for BatchCoordinator.
Link copied to clipboard
class BatchOverflowException(val coordinatorName: String, val maxPendingItems: Int) : IllegalStateException, RecoverableException
Link copied to clipboard
Link copied to clipboard
Executes one storage batch.