Package org.elasticsearch.cluster
Class SnapshotsInProgress.ShardSnapshotStatus
- java.lang.Object
-
- org.elasticsearch.cluster.SnapshotsInProgress.ShardSnapshotStatus
-
- Enclosing class:
- SnapshotsInProgress
public static class SnapshotsInProgress.ShardSnapshotStatus extends Object
-
-
Constructor Summary
Constructors Constructor Description ShardSnapshotStatus(String nodeId)ShardSnapshotStatus(String nodeId, SnapshotsInProgress.ShardState state)ShardSnapshotStatus(String nodeId, SnapshotsInProgress.ShardState state, String reason)ShardSnapshotStatus(StreamInput in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()StringnodeId()Stringreason()SnapshotsInProgress.ShardStatestate()StringtoString()voidwriteTo(StreamOutput out)
-
-
-
Constructor Detail
-
ShardSnapshotStatus
public ShardSnapshotStatus(String nodeId)
-
ShardSnapshotStatus
public ShardSnapshotStatus(String nodeId, SnapshotsInProgress.ShardState state)
-
ShardSnapshotStatus
public ShardSnapshotStatus(String nodeId, SnapshotsInProgress.ShardState state, String reason)
-
ShardSnapshotStatus
public ShardSnapshotStatus(StreamInput in) throws IOException
- Throws:
IOException
-
-
Method Detail
-
state
public SnapshotsInProgress.ShardState state()
-
nodeId
public String nodeId()
-
reason
public String reason()
-
writeTo
public void writeTo(StreamOutput out) throws IOException
- Throws:
IOException
-
-