object LimitActor
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LimitActor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class CapacityGrantTimedOut(id: Id) extends InternalLimitActorMessage with Product with Serializable
- case class CapacityGranted(elements: Int, until: Long, id: Id) extends LimitActorResponse with Product with Serializable
- case class CapacityRejected(elements: Int, until: Long) extends LimitActorResponse with Product with Serializable
- class Id extends AnyRef
- sealed trait InternalLimitActorMessage extends LimitActorMessage
- sealed trait LimitActorCommand extends LimitActorMessage
- sealed trait LimitActorMessage extends AnyRef
- sealed trait LimitActorResponse extends AnyRef
- case class MaxDelayPassed(request: RequestCapacity) extends InternalLimitActorMessage with Product with Serializable
- case class ReleaseCapacityGrant(id: Id) extends LimitActorCommand with Product with Serializable
- case class Replied(startTime: Long, duration: Long, didDrop: Boolean, weight: Int) extends LimitActorCommand with Product with Serializable
- case class RequestCapacity(sender: ActorRef[LimitActorResponse], id: Id = new Id) extends LimitActorCommand with Product with Serializable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def liFoQueued(limitAlgorithm: Limit, maxLiFoQueueDepth: Int, batchSize: Int = 10, batchTimeout: FiniteDuration = 500.millis, maxDelay: FiniteDuration = 0.nanos, timeout: FiniteDuration = 1.second): Behavior[LimitActorCommand]
- limitAlgorithm
adaptive concurrency limit algorithm to use.
- maxLiFoQueueDepth
max depth of the LiFo queue - gets multiplied with current limit to compute max queue length.
- maxDelay
compute max acceptable delay for requests to queue for being accepted.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object Ignore extends LimitActorCommand with Product with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated