Package-level declarations

Functions

Link copied to clipboard
fun createPartitionKey(partitions: Int): Int

Creates a partition key based on a random UUID and number of partitions. This method is used when randomness is preferred.

fun createPartitionKey(id: UUID, partitions: Int): Int

Creates a partition key based on the given UUID and number of partitions. This method is used when stickiness is preferred.

Link copied to clipboard
fun getNextExecutionAt(startTime: Instant, periodTime: String): Long

Calculates the next execution time based on the given start time and period.