Class Ballot

    • Method Detail

      • none

        public static Ballot none()
      • equals

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class TimeUUID
      • atUnixMicrosWithLsb

        public static Ballot atUnixMicrosWithLsb​(long unixMicros,
                                                 long uniqueLsb,
                                                 Ballot.Flag flag)
      • fromUuid

        public static Ballot fromUuid​(java.util.UUID uuid)
      • fromBytes

        public static Ballot fromBytes​(long msb,
                                       long lsb)
      • fromString

        public static Ballot fromString​(java.lang.String uuidString)
      • deserialize

        public static Ballot deserialize​(byte[] bytes)
      • deserialize

        public static Ballot deserialize​(java.nio.ByteBuffer buffer)
      • deserialize

        public static Ballot deserialize​(DataInputPlus in)
                                  throws java.io.IOException
        Throws:
        java.io.IOException