public class IdGenerator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_ID_INTERVAL |
| Constructor and Description |
|---|
IdGenerator(JournalSystem journalSystem) |
| Modifier and Type | Method and Description |
|---|---|
long |
getNextId() |
long |
getNextPersistentId() |
void |
setNextId(long id) |
public static final int BATCH_ID_INTERVAL
public IdGenerator(JournalSystem journalSystem)
public long getNextId()
throws StarException
StarExceptionpublic void setNextId(long id)
public long getNextPersistentId()
Copyright © 2024. All rights reserved.