jvmMain.scheduling.RaptorJobRegistryImpl.kt Maven / Gradle / Ivy
package io.fluidsonic.raptor
internal class RaptorJobRegistryImpl(executors: Collection>) : RaptorJobRegistry {
private val executorsById = executors.associateBy { it.group.id }
override fun get(id: String) =
executorsById[id]
}