|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.github.shyiko.mysql.binlog.GtidSet.Interval
public static final class GtidSet.Interval
An interval of contiguous transaction identifiers.
GtidSet
Method Summary | |
---|---|
int |
compareTo(GtidSet.Interval o)
|
boolean |
equals(Object obj)
|
long |
getEnd()
Get the ending transaction number in this interval. |
long |
getStart()
Get the starting transaction number in this interval. |
int |
hashCode()
|
boolean |
isContainedWithin(GtidSet.Interval other)
Determine if this interval is completely within the supplied interval. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public long getStart()
public long getEnd()
public boolean isContainedWithin(GtidSet.Interval other)
other
- the interval to compare with
true
if the start
is greater than or equal to the supplied interval's
start
and the end
is less than or equal to the supplied
interval's end
, or false
otherwisepublic int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public int compareTo(GtidSet.Interval o)
compareTo
in interface Comparable<GtidSet.Interval>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |