Class RecoverySource

    • Constructor Detail

      • RecoverySource

        public RecoverySource()
    • Method Detail

      • addAdditionalFields

        public void addAdditionalFields​(XContentBuilder builder,
                                        ToXContent.Params params)
                                 throws java.io.IOException
        to be overridden by subclasses
        Throws:
        java.io.IOException
      • readFrom

        public static RecoverySource readFrom​(StreamInput in)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • writeAdditionalFields

        protected void writeAdditionalFields​(StreamOutput out)
                                      throws java.io.IOException
        to be overridden by subclasses
        Throws:
        java.io.IOException
      • shouldBootstrapNewHistoryUUID

        public boolean shouldBootstrapNewHistoryUUID()
      • expectEmptyRetentionLeases

        public boolean expectEmptyRetentionLeases()
      • 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