Class SimpleTimestamper


  • public final class SimpleTimestamper
    extends 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

    • Method Detail

      • next

        public static long next()
      • timeOut

        public static int timeOut()