if (sequencer == null) {
synchronized (this) {
if (sequencer == null) {
String helperName = this.getEntityHelperName("SequenceValueItem");
ModelEntity seqEntity = this.getModelEntity("SequenceValueItem");
sequencer = new SequenceUtil(helperName, seqEntity, "seqName", "seqId");
}
}
}
Long newSeqId = sequencer == null ? null : sequencer.getNextSeqId(seqName, staggerMax);