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
| Edit this page View SourceTimeToAvailable(long, int)
TBD
Declaration
public abstract TimeSpan TimeToAvailable(long currentNanoTime, int tokens)
Parameters
| Type | Name | Description |
|---|---|---|
| long | currentNanoTime | TBD |
| int | tokens | TBD |
Returns
| Type | Description |
|---|---|
| TimeSpan | TBD |
TryConsumeTokens(long, int)
TBD
Declaration
public abstract (ThrottleMode, bool) TryConsumeTokens(long nanoTimeOfSend, int tokens)
Parameters
| Type | Name | Description |
|---|---|---|
| long | nanoTimeOfSend | TBD |
| int | tokens | TBD |
Returns
| Type | Description |
|---|---|
| (ThrottleMode, bool) | TBD |
Edit this page