| 程序包 | 说明 |
|---|---|
| cn.amorou.uid.impl |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CachedUidGenerator
Represents a cached implementation of
UidGenerator extends
from DefaultUidGenerator, based on a lock free RingBuffer
The spring properties you can specified as below:boostPower: RingBuffer size boost for a power of 2, Sample: boostPower is 3, it means the buffer size will be (, Default as
paddingFactor: Represents a percent value of (0 - 100). |
Copyright © 2020. All rights reserved.