Package com.yahoo.search.query
Class UniqueRequestId
- java.lang.Object
-
- com.yahoo.search.query.UniqueRequestId
-
public class UniqueRequestId extends java.lang.Object
A query id which is unique across this cluster - consisting of container runtime id + timestamp + serial.- Author:
- bratseth
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UniqueRequestId
next(java.lang.String serverId)
Creates a session id which is unique across the cluster this runtime is a member of each time this is called.java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
next
public static UniqueRequestId next(java.lang.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.
-
-