Class SnapshotDeletionsInProgress.Entry

  • All Implemented Interfaces:
    Writeable
    Enclosing class:
    SnapshotDeletionsInProgress

    public static final class SnapshotDeletionsInProgress.Entry
    extends java.lang.Object
    implements Writeable
    A class representing a snapshot deletion request entry in the cluster state.
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(StreamInput in)  
      Entry​(Snapshot snapshot, long startTime, long repositoryStateId)  
    • Method Summary

      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      long getRepositoryStateId()
      The repository state id at the time the snapshot deletion began.
      Snapshot getSnapshot()
      The snapshot to delete.
      long getStartTime()
      The start time in milliseconds for deleting the snapshots.
      int hashCode()  
      void writeTo​(StreamOutput out)
      Write this into the StreamOutput.
      • Methods inherited from class java.lang.Object

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

      • Entry

        public Entry​(Snapshot snapshot,
                     long startTime,
                     long repositoryStateId)
      • Entry

        public Entry​(StreamInput in)
              throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getSnapshot

        public Snapshot getSnapshot()
        The snapshot to delete.
      • getStartTime

        public long getStartTime()
        The start time in milliseconds for deleting the snapshots.
      • getRepositoryStateId

        public long getRepositoryStateId()
        The repository state id at the time the snapshot deletion began.
      • 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