C# Class Akka.Routing.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.
Inheritance: RouterEnvelope, IConsistentHashable
Datei anzeigen Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
ConsistentHashableEnvelope ( object message, object hashKey ) : System

Initializes a new instance of the ConsistentHashableEnvelope class.

Method Details

ConsistentHashableEnvelope() public method

Initializes a new instance of the ConsistentHashableEnvelope class.
public ConsistentHashableEnvelope ( object message, object hashKey ) : System
message object The message that is being wrapped in the envelope.
hashKey object The key used as the consistent hash key for the envelope.
return System