Class SnapshotStatus

    • Method Detail

      • getSnapshot

        public Snapshot getSnapshot()
        Returns snapshot
      • includeGlobalState

        public java.lang.Boolean includeGlobalState()
        Returns true if global state is included in the snapshot, false otherwise. Can be null if this information is unknown.
      • getIndices

        public java.util.Map<java.lang.String,​SnapshotIndexStatus> getIndices()
        Returns list of snapshot indices
      • readSnapshotStatus

        public static SnapshotStatus readSnapshotStatus​(StreamInput in)
                                                 throws java.io.IOException
        Reads snapshot status from stream input
        Parameters:
        in - stream input
        Returns:
        deserialized snapshot status
        Throws:
        java.io.IOException
      • toString

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

        public SnapshotStats getStats()
        Returns number of files in the snapshot
      • fromXContent

        public static SnapshotStatus fromXContent​(XContentParser parser)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • 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