Package org.flowable.engine.impl.db
Class DbIdGenerator
java.lang.Object
org.flowable.engine.impl.db.DbIdGenerator
- All Implemented Interfaces:
IdGenerator
- Author:
- Tom Baeyens
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CommandConfig
protected CommandExecutor
protected int
protected long
protected long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
protected void
void
setCommandConfig
(CommandConfig commandConfig) void
setCommandExecutor
(CommandExecutor commandExecutor) void
setIdBlockSize
(int idBlockSize)
-
Field Details
-
idBlockSize
protected int idBlockSize -
nextId
protected long nextId -
lastId
protected long lastId -
commandExecutor
-
commandConfig
-
-
Constructor Details
-
DbIdGenerator
public DbIdGenerator()
-
-
Method Details
-
getNextId
- Specified by:
getNextId
in interfaceIdGenerator
-
getNewBlock
protected void getNewBlock() -
getIdBlockSize
public int getIdBlockSize() -
setIdBlockSize
public void setIdBlockSize(int idBlockSize) -
getCommandExecutor
-
setCommandExecutor
-
getCommandConfig
-
setCommandConfig
-