public final class HashNodeIdFunction extends Object implements NodeIdFunction
The hash is calculated once during instantiation.
NodeIdFunction,
MachineId| Constructor and Description |
|---|
HashNodeIdFunction()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getAsLong() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMulticastRandom, getRandom, isMulticast, toExpectedRange, toMulticastpublic long getAsLong()
getAsLong in interface LongSupplierCopyright © 2024. All rights reserved.