Class MemoryStaticLongIDFactory

java.lang.Object
com.helger.commons.id.factory.MemoryStaticLongIDFactory
All Implemented Interfaces:
IBaseIDFactory, ILongIDFactory

@ThreadSafe public final class MemoryStaticLongIDFactory extends Object implements ILongIDFactory
An implementation of ILongIDFactory using a single static AtomicLong.
Author:
Philip Helger
  • Field Details

    • INITIAL_ID

      public static final long INITIAL_ID
      The default start ID to use.
      See Also:
  • Constructor Details

    • MemoryStaticLongIDFactory

      public MemoryStaticLongIDFactory()
  • Method Details