Package me.ahoo.cosid.sharding
Class IntervalTimeline.Interval
java.lang.Object
me.ahoo.cosid.sharding.IntervalTimeline.Interval
- Enclosing class:
- IntervalTimeline
Represents a time interval with an associated node name.
-
Constructor Details
-
Interval
Creates an interval.- Parameters:
lower- the lower bound of the intervalnode- the associated node name
-
-
Method Details
-
getLower
Gets the lower bound.- Returns:
- the lower bound
-
getNode
Gets the node name.- Returns:
- the node name
-