| ConsistentHashTSubtraction Operator |
Removes a node from 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)
Syntax public 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 removed. - node
- Type: T
The node to remove from the hash ring
Return Value
Type:
ConsistentHashTA new instance of this hash ring with the given node removed.
See Also