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 CommandConfigprotected CommandExecutorprotected intprotected longprotected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected voidvoidsetCommandConfig(CommandConfig commandConfig) voidsetCommandExecutor(CommandExecutor commandExecutor) voidsetIdBlockSize(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:
getNextIdin interfaceIdGenerator
-
getNewBlock
protected void getNewBlock() -
getIdBlockSize
public int getIdBlockSize() -
setIdBlockSize
public void setIdBlockSize(int idBlockSize) -
getCommandExecutor
-
setCommandExecutor
-
getCommandConfig
-
setCommandConfig
-