ClusterState.Custom, ClusterState.FeatureAware, Diffable<ClusterState.Custom>, NamedDiffable<ClusterState.Custom>, NamedWriteable, VersionedNamedWriteable, Writeable, ToXContent, ToXContentFragmentpublic class RestoreInProgress extends AbstractNamedDiffable<ClusterState.Custom> implements ClusterState.Custom
| Modifier and Type | Class | Description |
|---|---|---|
static class |
RestoreInProgress.Entry |
Restore metadata
|
static class |
RestoreInProgress.ShardRestoreStatus |
Represents status of a restored shard
|
static class |
RestoreInProgress.State |
Shard restore process state
|
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
TYPE |
EMPTY_PARAMS| Constructor | Description |
|---|---|
RestoreInProgress(RestoreInProgress.Entry... entries) |
Constructs new restore metadata
|
RestoreInProgress(StreamInput in) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<RestoreInProgress.Entry> |
entries() |
Returns list of currently running restore processes
|
boolean |
equals(java.lang.Object o) |
|
Version |
getMinimalSupportedVersion() |
The minimal version of the recipient this object can be sent to
|
java.lang.String |
getWriteableName() |
Returns the name of the writeable object
|
int |
hashCode() |
|
static NamedDiff<ClusterState.Custom> |
readDiffFrom(StreamInput in) |
|
java.lang.String |
toString() |
|
void |
toXContent(RestoreInProgress.Entry entry,
XContentBuilder builder,
ToXContent.Params params) |
Serializes single restore operation
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
void |
writeTo(StreamOutput out) |
Write this into the StreamOutput.
|
diff, get, readDiffFromisPrivategetRequiredFeatureclone, finalize, getClass, notify, notifyAll, wait, wait, waitisFragmentpublic static final java.lang.String TYPE
public RestoreInProgress(RestoreInProgress.Entry... entries)
entries - list of currently running restore processespublic RestoreInProgress(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic java.util.List<RestoreInProgress.Entry> entries()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getWriteableName()
getWriteableName in interface NamedWriteablegetWriteableName in interface VersionedNamedWriteablepublic Version getMinimalSupportedVersion()
VersionedNamedWriteablegetMinimalSupportedVersion in interface VersionedNamedWriteablepublic static NamedDiff<ClusterState.Custom> readDiffFrom(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic void toXContent(RestoreInProgress.Entry entry, XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
entry - restore operation metadatabuilder - XContent builderparams - serialization parametersjava.io.IOException