Class NodeHelpers
java.lang.Object
com.apple.foundationdb.async.rtree.NodeHelpers
Some helper methods for
Node
s.-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
Method to create a new node identifier.
-
Method Details
-
newRandomNodeId
@Nonnull public static byte[] newRandomNodeId()Method to create a new node identifier. This method usesUUID.randomUUID()
and should be used in production to avoid conflicts.- Returns:
- a new 16-byte byte array containing a new unique node identifier
-