Package org.elasticsearch.cluster
Class SnapshotDeletionsInProgress.Entry
- java.lang.Object
-
- org.elasticsearch.cluster.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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Constructor Summary
Constructors Constructor Description Entry(StreamInput in)Entry(Snapshot snapshot, long startTime, long repositoryStateId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)longgetRepositoryStateId()The repository state id at the time the snapshot deletion began.SnapshotgetSnapshot()The snapshot to delete.longgetStartTime()The start time in milliseconds for deleting the snapshots.inthashCode()voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:WriteableWrite this into the StreamOutput.
-
-