org.hibernate.cache

Class Timestamper


public final class Timestamper
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.

Field Summary

static short
ONE_MS

Method Summary

static long
next()

Field Details

ONE_MS

public static final short ONE_MS
Field Value:
4096

Method Details

next

public static long next()