Package org.elasticsearch.cluster
Class SnapshotDeletionsInProgress.Entry
java.lang.Object
org.elasticsearch.cluster.SnapshotDeletionsInProgress.Entry
- All Implemented Interfaces:
Writeable,RepositoryOperation
- Enclosing class:
- SnapshotDeletionsInProgress
public static final class SnapshotDeletionsInProgress.Entry extends java.lang.Object implements Writeable, RepositoryOperation
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 booleanequals(java.lang.Object o)SnapshotgetSnapshot()The snapshot to delete.longgetStartTime()The start time in milliseconds for deleting the snapshots.inthashCode()java.lang.Stringrepository()Name of the repository affected.longrepositoryStateId()The repository state id at the time the operation began.voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
Constructor Details
-
Method Details
-
getSnapshot
The snapshot to delete. -
getStartTime
public long getStartTime()The start time in milliseconds for deleting the snapshots. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput. -
repository
public java.lang.String repository()Description copied from interface:RepositoryOperationName of the repository affected.- Specified by:
repositoryin interfaceRepositoryOperation
-
repositoryStateId
public long repositoryStateId()Description copied from interface:RepositoryOperationThe repository state id at the time the operation began.- Specified by:
repositoryStateIdin interfaceRepositoryOperation
-