@Immutable public static class GtidSet.Interval extends Object implements Comparable<GtidSet.Interval>
| Constructor and Description |
|---|
Interval(long start,
long end) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(GtidSet.Interval that) |
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() |
public long getStart()
public long getEnd()
public boolean isContainedWithin(GtidSet.Interval other)
public int compareTo(GtidSet.Interval that)
compareTo in interface Comparable<GtidSet.Interval>Copyright © 2017 JBoss by Red Hat. All rights reserved.