Class Engine.CommitId

  • All Implemented Interfaces:
    Writeable
    Enclosing class:
    Engine

    public static class Engine.CommitId
    extends java.lang.Object
    implements Writeable
    • Method Summary

      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      boolean idsEqual​(byte[] id)  
      java.lang.String toString()  
      void writeTo​(StreamOutput out)
      Write this into the StreamOutput.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CommitId

        public CommitId​(byte[] id)
      • CommitId

        public CommitId​(StreamInput in)
                 throws java.io.IOException
        Read from a stream.
        Throws:
        java.io.IOException
    • Method Detail

      • toString

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

        public boolean idsEqual​(byte[] id)
      • 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