public class DbIdGenerator extends Object implements IdGenerator
| Modifier and Type | Field and Description |
|---|---|
protected CommandConfig |
commandConfig |
protected CommandExecutor |
commandExecutor |
protected int |
idBlockSize |
protected long |
lastId |
protected long |
nextId |
| Constructor and Description |
|---|
DbIdGenerator() |
| Modifier and Type | Method and Description |
|---|---|
CommandConfig |
getCommandConfig() |
CommandExecutor |
getCommandExecutor() |
int |
getIdBlockSize() |
protected void |
getNewBlock() |
String |
getNextId() |
void |
setCommandConfig(CommandConfig commandConfig) |
void |
setCommandExecutor(CommandExecutor commandExecutor) |
void |
setIdBlockSize(int idBlockSize) |
protected int idBlockSize
protected long nextId
protected long lastId
protected CommandExecutor commandExecutor
protected CommandConfig commandConfig
public String getNextId()
getNextId in interface IdGeneratorprotected void getNewBlock()
public int getIdBlockSize()
public void setIdBlockSize(int idBlockSize)
public CommandExecutor getCommandExecutor()
public void setCommandExecutor(CommandExecutor commandExecutor)
public CommandConfig getCommandConfig()
public void setCommandConfig(CommandConfig commandConfig)
Copyright © 2016 Alfresco. All rights reserved.