@ThreadSafe public final class MemoryStaticLongIDFactory extends Object implements ILongIDFactory
ILongIDFactory using a single static
AtomicLong.| Modifier and Type | Field and Description |
|---|---|
static long |
INITIAL_ID
The default start ID to use.
|
| Constructor and Description |
|---|
MemoryStaticLongIDFactory() |
public static final long INITIAL_ID
@Nonnegative public long getNewID()
ILongIDFactorygetNewID in interface ILongIDFactory@Nonnegative public static long getNewStaticID()
Copyright © 2006–2014 phloc systems. All rights reserved.