Class ConsistentHashableEnvelope
This class represents a RouterEnvelope that can be wrapped around a message in order to make it hashable for use with ConsistentHashingGroup or ConsistentHashingPool routers.
Inherited Members
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public sealed class ConsistentHashableEnvelope : RouterEnvelope, IConsistentHashable, IWrappedMessage
Constructors
| Edit this page View SourceConsistentHashableEnvelope(object, object)
Initializes a new instance of the ConsistentHashableEnvelope class.
Declaration
public ConsistentHashableEnvelope(object message, object hashKey)
Parameters
Type | Name | Description |
---|---|---|
object | message | The message that is being wrapped in the envelope. |
object | hashKey | The key used as the consistent hash key for the envelope. |
Properties
| Edit this page View SourceConsistentHashKey
The consistent hash key of the envelope.
Declaration
public object ConsistentHashKey { get; }
Property Value
Type | Description |
---|---|
object |
HashKey
The key used as the consistent hash key.
Declaration
public object HashKey { get; }
Property Value
Type | Description |
---|---|
object |