Class UniqueRequestId

java.lang.Object
com.yahoo.search.query.UniqueRequestId

public class UniqueRequestId extends Object
A query id which is unique across this cluster - consisting of container runtime id + timestamp + serial.
Author:
bratseth
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • next

      public static UniqueRequestId next(String serverId)
      Creates a session id which is unique across the cluster this runtime is a member of each time this is called. Calling this causes synchronization.