Package com.github.shyiko.mysql.binlog
Class GtidSet.Interval
java.lang.Object
com.github.shyiko.mysql.binlog.GtidSet.Interval
- All Implemented Interfaces:
Comparable<GtidSet.Interval>
- Enclosing class:
GtidSet
An interval of contiguous transaction identifiers.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Interval
public Interval(long start, long end)
-
-
Method Details
-
getStart
public long getStart()Get the starting transaction number in this interval.- Returns:
- this interval's first transaction number
-
getEnd
public long getEnd()Get the ending transaction number in this interval.- Returns:
- this interval's last transaction number
-
isContainedWithin
Determine if this interval is completely within the supplied interval. -
hashCode
public int hashCode() -
equals
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<GtidSet.Interval>
-