Package org.hibernate.cache.spi.support
Class SimpleTimestamper
- java.lang.Object
-
- org.hibernate.cache.spi.support.SimpleTimestamper
-
public final class SimpleTimestamper extends java.lang.Object
Generates increasing identifiers (in a single VM only). Not valid across multiple VMs. Identifiers are not necessarily strictly increasing, but usually are. Core while loop implemented by Alex Snaps - EHCache project - under ASL 2.0
-
-
Field Summary
Fields Modifier and Type Field Description static short
ONE_MS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
next()
static int
timeOut()
-
-
-
Field Detail
-
ONE_MS
public static final short ONE_MS
- See Also:
- Constant Field Values
-
-