Class SetThrottle
Applies a throttle to the underlying conneciton
Inherited Members
Namespace: Akka.Remote.Transport
Assembly: Akka.Remote.dll
Syntax
public sealed class SetThrottle
Constructors
| Edit this page View SourceSetThrottle(Address, Direction, ThrottleMode)
Creates a new SetThrottle message.
Declaration
public SetThrottle(Address address, ThrottleTransportAdapter.Direction direction, ThrottleMode mode)
Parameters
Type | Name | Description |
---|---|---|
Address | address | The address of the throttle. |
ThrottleTransportAdapter.Direction | direction | The direction of the throttle. |
ThrottleMode | mode | The mode of the throttle. |
Properties
| Edit this page View SourceAddress
The address of the remote node we'll be throttling
Declaration
public Address Address { get; }
Property Value
Type | Description |
---|---|
Address |
Direction
The direction of the throttle
Declaration
public ThrottleTransportAdapter.Direction Direction { get; }
Property Value
Type | Description |
---|---|
ThrottleTransportAdapter.Direction |
Mode
The mode of the throttle
Declaration
public ThrottleMode Mode { get; }
Property Value
Type | Description |
---|---|
ThrottleMode |
Methods
| Edit this page View SourceEquals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
Operators
| Edit this page View Sourceoperator ==(SetThrottle, SetThrottle)
Compares two specified SetThrottle for equality.
Declaration
public static bool operator ==(SetThrottle left, SetThrottle right)
Parameters
Type | Name | Description |
---|---|---|
SetThrottle | left | The first SetThrottle used for comparison |
SetThrottle | right | The second SetThrottle used for comparison |
Returns
Type | Description |
---|---|
bool |
|
operator !=(SetThrottle, SetThrottle)
Compares two specified SetThrottle for inequality.
Declaration
public static bool operator !=(SetThrottle left, SetThrottle right)
Parameters
Type | Name | Description |
---|---|---|
SetThrottle | left | The first SetThrottle used for comparison |
SetThrottle | right | The second SetThrottle used for comparison |
Returns
Type | Description |
---|---|
bool |
|