| Package | Description |
|---|---|
| app.myoss.cloud.sequence | |
| app.myoss.cloud.sequence.impl |
| Modifier and Type | Method and Description |
|---|---|
void |
SequenceRepository.adjust(String name)
检查并调整某个 sequence name 的值
|
SequenceRange |
SequenceRepository.nextRange(String name)
取得下一个可用的序列区间
|
long |
Sequence.nextValue(int size)
返回 size 大小后的值,比如针对 batch 拿到 size 大小的值,自己内存中顺序分配
|
long |
Sequence.nextValue(Object... params)
生成下一个序列值
|
| Modifier and Type | Method and Description |
|---|---|
SequenceRange |
RdsSequenceRepository.nextRange(String name) |
long |
DefaultSequenceImpl.nextValue(int size) |
long |
DefaultSequenceImpl.nextValue(Object... params) |
Copyright © 2018–2020. All rights reserved.