Package com.github.shyiko.mysql.binlog
Class GtidSet.UUIDSet
java.lang.Object
com.github.shyiko.mysql.binlog.GtidSet.UUIDSet
- Enclosing class:
GtidSet
A range of GTIDs for a single server with a specific UUID.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUUIDSet(String uuid, List<GtidSet.Interval> intervals) UUIDSet(UUID uuid, List<GtidSet.Interval> intervals) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the intervals of transaction numbers.getUUID()Deprecated.inthashCode()booleanisContainedWithin(GtidSet.UUIDSet other) Determine if the set of transaction numbers from this server is completely within the set of transaction numbers from the set of transaction numbers in the supplied set.toString()
-
Constructor Details
-
UUIDSet
-
UUIDSet
-
-
Method Details
-
getUUID
Deprecated.Get the UUID for the server that generated the GTIDs.- Returns:
- the server's UUID; never null
-
getServerId
-
getIntervals
Get the intervals of transaction numbers.- Returns:
- the immutable transaction intervals; never null
-
isContainedWithin
Determine if the set of transaction numbers from this server is completely within the set of transaction numbers from the set of transaction numbers in the supplied set.- Parameters:
other- the set to compare with this set- Returns:
trueif this server's transaction numbers are equal to or a subset of the transaction numbers of the supplied set, or false otherwise
-
hashCode
public int hashCode() -
equals
-
toString
-