public static class IdGenerator.StartIdProvider.Timestamp extends java.lang.Object implements IdGenerator.StartIdProvider
Generate system start ID based on timestamp
IdGenerator.StartIdProvider.DefaultStartIdProvider, IdGenerator.StartIdProvider.FileBasedStartCounter, IdGenerator.StartIdProvider.Timestamp| Constructor and Description |
|---|
Timestamp() |
| Modifier and Type | Method and Description |
|---|---|
long |
startId()
Returns the system start ID.
|
public long startId()
IdGenerator.StartIdProviderReturns the system start ID. The start ID shall be different between System starts, but it shall remaining the same value within one system life time
startId in interface IdGenerator.StartIdProviderCopyright © 2014–2017 ActFramework. All rights reserved.