ThrottleMode

org.apache.pekko.remote.transport.ThrottlerTransportAdapter$.ThrottleMode

Attributes

Source
ThrottlerTransportAdapter.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Blackhole.type
class TokenBucket
object Unthrottled.type

Members list

Value members

Abstract methods

def timeToAvailable(currentNanoTime: Long, tokens: Int): FiniteDuration
def tryConsumeTokens(nanoTimeOfSend: Long, tokens: Int): (ThrottleMode, Boolean)