public class ClusterBlock extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
ClusterBlock(int id,
String description,
boolean retryable,
boolean disableStatePersistence,
RestStatus status,
EnumSet<ClusterBlockLevel> levels) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
contains(ClusterBlockLevel level) |
String |
description() |
boolean |
disableStatePersistence()
Should global state persistence be disabled when this block is present.
|
boolean |
equals(Object o) |
int |
hashCode() |
int |
id() |
EnumSet<ClusterBlockLevel> |
levels() |
static ClusterBlock |
readClusterBlock(StreamInput in) |
void |
readFrom(StreamInput in) |
boolean |
retryable()
Should operations get into retry state if this block is present.
|
RestStatus |
status() |
String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public ClusterBlock(int id,
String description,
boolean retryable,
boolean disableStatePersistence,
RestStatus status,
EnumSet<ClusterBlockLevel> levels)
public int id()
public String description()
public RestStatus status()
public EnumSet<ClusterBlockLevel> levels()
public boolean contains(ClusterBlockLevel level)
public boolean retryable()
public boolean disableStatePersistence()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic static ClusterBlock readClusterBlock(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.