Package me.ahoo.cosid.sharding
Class CachedSharding<T extends Comparable<?>>
java.lang.Object
me.ahoo.cosid.sharding.CachedSharding<T>
- All Implemented Interfaces:
PreciseSharding<T>
,RangeSharding<T>
,Sharding<T>
Cached Sharding.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
CachedSharding
-
-
Method Details
-
sharding
- Specified by:
sharding
in interfacePreciseSharding<T extends Comparable<?>>
-
sharding
- Specified by:
sharding
in interfaceRangeSharding<T extends Comparable<?>>
-
getEffectiveNodes
- Specified by:
getEffectiveNodes
in interfaceSharding<T extends Comparable<?>>
-