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
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.
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:Writeable
Write this into the StreamOutput.
-
-