Package org.elasticsearch.cluster
Class SnapshotsInProgress.Entry
- java.lang.Object
-
- org.elasticsearch.cluster.SnapshotsInProgress.Entry
-
- Enclosing class:
- SnapshotsInProgress
public static class SnapshotsInProgress.Entry extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Entry(SnapshotsInProgress.Entry entry, SnapshotsInProgress.State state, ImmutableOpenMap<ShardId,SnapshotsInProgress.ShardSnapshotStatus> shards)
Entry(SnapshotsInProgress.Entry entry, ImmutableOpenMap<ShardId,SnapshotsInProgress.ShardSnapshotStatus> shards)
Entry(Snapshot snapshot, boolean includeGlobalState, boolean partial, SnapshotsInProgress.State state, java.util.List<IndexId> indices, long startTime, long repositoryStateId, ImmutableOpenMap<ShardId,SnapshotsInProgress.ShardSnapshotStatus> shards)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
long
getRepositoryStateId()
int
hashCode()
boolean
includeGlobalState()
java.util.List<IndexId>
indices()
boolean
partial()
ImmutableOpenMap<ShardId,SnapshotsInProgress.ShardSnapshotStatus>
shards()
Snapshot
snapshot()
long
startTime()
SnapshotsInProgress.State
state()
java.lang.String
toString()
ImmutableOpenMap<java.lang.String,java.util.List<ShardId>>
waitingIndices()
-
-
-
Constructor Detail
-
Entry
public Entry(Snapshot snapshot, boolean includeGlobalState, boolean partial, SnapshotsInProgress.State state, java.util.List<IndexId> indices, long startTime, long repositoryStateId, ImmutableOpenMap<ShardId,SnapshotsInProgress.ShardSnapshotStatus> shards)
-
Entry
public Entry(SnapshotsInProgress.Entry entry, SnapshotsInProgress.State state, ImmutableOpenMap<ShardId,SnapshotsInProgress.ShardSnapshotStatus> shards)
-
Entry
public Entry(SnapshotsInProgress.Entry entry, ImmutableOpenMap<ShardId,SnapshotsInProgress.ShardSnapshotStatus> shards)
-
-
Method Detail
-
snapshot
public Snapshot snapshot()
-
shards
public ImmutableOpenMap<ShardId,SnapshotsInProgress.ShardSnapshotStatus> shards()
-
state
public SnapshotsInProgress.State state()
-
indices
public java.util.List<IndexId> indices()
-
waitingIndices
public ImmutableOpenMap<java.lang.String,java.util.List<ShardId>> waitingIndices()
-
includeGlobalState
public boolean includeGlobalState()
-
partial
public boolean partial()
-
startTime
public long startTime()
-
getRepositoryStateId
public long getRepositoryStateId()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-