Class CoreIdGenerator

java.lang.Object
com.couchbase.client.core.util.CoreIdGenerator

@Internal public class CoreIdGenerator extends Object
  • Method Details

    • nextId

      public static long nextId()
      Returns an ID to assigned to a new core.

      The high 32 bits are the same for every ID generated by this process. The low 32 bits are a counter, incremented for each ID.