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
| Improve this Doc 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
| Improve this Doc 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 |