Annotation Interface IntervalShardingStrategy
@Repeatable(ShardingStrategies.class)
@Target(TYPE)
@Retention(RUNTIME)
public @interface IntervalShardingStrategy
- 从以下版本开始:
- 1.0.0
- 版本:
- 1.0.0
- 作者:
- ilikly
- 另请参阅:
-
IntervalShardingAlgorithm
-
嵌套类概要
嵌套类 -
必需元素概要
所需元素 -
可选元素概要
可选元素
-
元素详细资料
-
-
interval
int interval- 默认值:
- 1
-
unit
ChronoUnit unit- 默认值:
- DAYS
-