return Long.toString(_nextId);
}
protected synchronized void getNewBlock() {
// TODO http://jira.codehaus.org/browse/ACT-45 use a separate 'requiresNew' command executor
IdBlock idBlock = commandExecutor.execute(new GetNextIdBlockCmd(idBlockSize));
this.nextId = idBlock.getNextId();
this.lastId = idBlock.getLastId();
}