public class RestoreInProgress extends AbstractDiffable<ClusterState.Custom> implements ClusterState.Custom
| 修飾子とタイプ | クラスと説明 |
|---|---|
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.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
static RestoreInProgress |
PROTO |
static String |
TYPE |
EMPTY_PARAMS| コンストラクタと説明 |
|---|
RestoreInProgress(List<RestoreInProgress.Entry> entries)
Constructs new restore metadata
|
RestoreInProgress(RestoreInProgress.Entry... entries)
Constructs new restore metadata
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
List<RestoreInProgress.Entry> |
entries()
Returns list of currently running restore processes
|
boolean |
equals(Object o) |
int |
hashCode() |
RestoreInProgress |
readFrom(StreamInput in)
Reads a copy of an object with the same type form the stream input
The caller object remains unchanged.
|
RestoreInProgress.Entry |
snapshot(SnapshotId snapshotId)
Returns currently running restore process with corresponding snapshot id or null if this snapshot is not being
restored
|
void |
toXContent(RestoreInProgress.Entry entry,
XContentBuilder builder,
ToXContent.Params params)
Serializes single restore operation
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
String |
type() |
void |
writeTo(StreamOutput out)
Writes the current object into the output stream out
|
diff, get, readDiffFrom, readDiffFromclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdiff, readDiffFrompublic static final RestoreInProgress PROTO
public RestoreInProgress(List<RestoreInProgress.Entry> entries)
entries - list of currently running restore processespublic RestoreInProgress(RestoreInProgress.Entry... entries)
entries - list of currently running restore processespublic List<RestoreInProgress.Entry> entries()
public RestoreInProgress.Entry snapshot(SnapshotId snapshotId)
snapshotId - snapshot idpublic String type()
type インタフェース内 ClusterState.Custompublic RestoreInProgress readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableReader<ClusterState.Custom>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 Writeable<ClusterState.Custom>IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic void toXContent(RestoreInProgress.Entry entry, XContentBuilder builder, ToXContent.Params params) throws IOException
entry - restore operation metadatabuilder - XContent builderparams - serialization parametersIOExceptionCopyright © 2009–2016. All rights reserved.