Package stanford.netdb.middleware
Class Session_ID
- java.lang.Object
-
- stanford.netdb.middleware.Session_ID
-
- All Implemented Interfaces:
java.io.Serializable
public class Session_ID extends java.lang.Object implements java.io.SerializableThis class handles the sequence ID generation for the Datastore class. In addition, it has the formatter used by the logging methods to ensure that the logs are easy to read.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Session_IDnext()Get the next ID.java.lang.StringtoString()Pad the ID with the appropriate white space.java.lang.StringtoString(java.lang.Boolean pad)
-
-
-
Method Detail
-
next
public static Session_ID next()
Get the next ID.
-
toString
public java.lang.String toString()
Pad the ID with the appropriate white space.- Overrides:
toStringin classjava.lang.Object
-
toString
public java.lang.String toString(java.lang.Boolean pad)
-
-