Class Commit


  • public class Commit
    extends java.lang.Object
    • Constructor Detail

      • Commit

        public Commit​(java.util.UUID ballot,
                      PartitionUpdate update)
    • Method Detail

      • isAfter

        public boolean isAfter​(Commit other)
      • hasBallot

        public boolean hasBallot​(java.util.UUID ballot)
      • isEmpty

        public boolean isEmpty()
        Whether this is an empty commit, that is one with no updates.
      • makeMutation

        public Mutation makeMutation()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object