Delegate ConsistentHashMapping
Delegate for computing the hashkey from any given type of message. Extracts the property / data that is going to be used for a given hash, but doesn't actually return the hash values themselves.
If returning a byte[] or string it will be used as is, otherwise the configured Serializer will be applied to the returned data.
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public delegate object ConsistentHashMapping(object msg)
Parameters
Type | Name | Description |
---|---|---|
object | msg | Delegate for computing the hashkey from any given type of message. Extracts the property / data that is going to be used for a given hash, but doesn't actually return the hash values themselves. If returning a byte[] or string it will be used as is, otherwise the configured will be applied to the returned data. |
Returns
Type | Description |
---|---|
object | Delegate for computing the hashkey from any given type of message. Extracts the property / data that is going to be used for a given hash, but doesn't actually return the hash values themselves. If returning a byte[] or string it will be used as is, otherwise the configured will be applied to the returned data. |