Module com.github.f4b6a3.uuid
Class RandomNodeIdFunction
- java.lang.Object
-
- com.github.f4b6a3.uuid.factory.function.impl.RandomNodeIdFunction
-
- All Implemented Interfaces:
NodeIdFunction,LongSupplier
public final class RandomNodeIdFunction extends Object implements NodeIdFunction
Function that returns a new random multicast node identifier.The random value is generated with each new invocation.
- See Also:
NodeIdFunction
-
-
Constructor Summary
Constructors Constructor Description RandomNodeIdFunction()
-
-
-
Method Detail
-
getAsLong
public long getAsLong()
- Specified by:
getAsLongin interfaceLongSupplier
-
-