All Downloads are FREE. Search and download functionalities are using the official Maven repository.

genkai.ConcurrentStrategy.scala Maven / Gradle / Ivy

package genkai

import scala.concurrent.duration.Duration

sealed trait ConcurrentStrategy

object ConcurrentStrategy {

  /**
   * @param slots - available slots for concurrent requests
   * @param ttl - default ttl for automatic slot acquisition cleanup if manual cleanup did not succeed
   */
  final case class Default(slots: Long, ttl: Duration) extends ConcurrentStrategy
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy