Class ThrottleMode
The type of throttle being applied to a connection.
Implements
Inherited Members
Namespace: Akka.Remote.Transport
Assembly: Akka.Remote.dll
Syntax
public abstract class ThrottleMode : INoSerializationVerificationNeeded
Methods
| Improve this Doc View SourceTimeToAvailable(Int64, Int32)
TBD
Declaration
public abstract TimeSpan TimeToAvailable(long currentNanoTime, int tokens)
Parameters
Type | Name | Description |
---|---|---|
Int64 | currentNanoTime | TBD |
Int32 | tokens | TBD |
Returns
Type | Description |
---|---|
TimeSpan | TBD |
TryConsumeTokens(Int64, Int32)
TBD
Declaration
public abstract (ThrottleMode, bool) TryConsumeTokens(long nanoTimeOfSend, int tokens)
Parameters
Type | Name | Description |
---|---|---|
Int64 | nanoTimeOfSend | TBD |
Int32 | tokens | TBD |
Returns
Type | Description |
---|---|
System.ValueTuple<ThrottleMode, Boolean> | TBD |