public abstract class BaseShardManager<K,T> extends Object
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
protected IKeyGroupAssigner |
assigner |
|
private static org.slf4j.Logger |
LOGGER |
|
protected boolean |
mayScale |
|
protected KeyGroup |
shardGroup |
|
protected int |
totalShardNum |
|
protected Map<Integer,T> |
traitMap |
| 构造器 | 说明 |
|---|---|
BaseShardManager(StateContext context,
Map<Integer,IAccessor> accessorMap) |
private static final org.slf4j.Logger LOGGER
protected final int totalShardNum
protected KeyGroup shardGroup
protected IKeyGroupAssigner assigner
protected boolean mayScale
public BaseShardManager(StateContext context, Map<Integer,IAccessor> accessorMap)
protected T getTraitById(int keyGroupId)
protected KeyGroup getShardGroup(IStatePushDown pushdown)
Copyright © 2025. All rights reserved.