 | ConsistentHashTAddition Operator |
Adds a node to the hash ring.
Note that
ConsistentHashT is immutable and
this operation returns a new instance.
Namespace:
Akka.Routing
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic static ConsistentHash<T> operator +(
ConsistentHash<T> hash,
T node
)
static let inline (+)
hash : ConsistentHash<'T> *
node : 'T : ConsistentHash<'T>
Parameters
- hash
- Type: Akka.RoutingConsistentHashT
The hash ring used to derive a new ring with the given node added. - node
- Type: T
The node to add to the hash ring
Return Value
Type:
ConsistentHashTA new instance of this hash ring with the given node added.
See Also