public static interface IdGenerator.StartIdProvider
Implementation of StartIdProvider
shall return a unique id per each system start
Modifier and Type | Interface and Description |
---|---|
static class |
IdGenerator.StartIdProvider.DefaultStartIdProvider
Default start ID provider will try to use the
IdGenerator.StartIdProvider.FileBasedStartCounter . |
static class |
IdGenerator.StartIdProvider.FileBasedStartCounter
Generate system start ID based on incremental sequence.
|
static class |
IdGenerator.StartIdProvider.Timestamp
Generate system start ID based on timestamp
|
Modifier and Type | Method and Description |
---|---|
long |
startId()
Returns the system start ID.
|
Copyright © 2014–2017 ActFramework. All rights reserved.