Class NodeHelpers

java.lang.Object
com.apple.foundationdb.async.rtree.NodeHelpers

public class NodeHelpers extends Object
Some helper methods for Nodes.
  • Method Details

    • newRandomNodeId

      @Nonnull public static byte[] newRandomNodeId()
      Method to create a new node identifier. This method uses UUID.randomUUID() and should be used in production to avoid conflicts.
      Returns:
      a new 16-byte byte array containing a new unique node identifier