Streamable, Writeable, ToXContent, ToXContentFragmentpublic class ShardStats extends java.lang.Object implements Streamable, Writeable, ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>EMPTY_PARAMS| Constructor | Description |
|---|---|
ShardStats(ShardRouting routing,
ShardPath shardPath,
CommonStats commonStats,
CommitStats commitStats,
SeqNoStats seqNoStats) |
| Modifier and Type | Method | Description |
|---|---|---|
CommitStats |
getCommitStats() |
|
java.lang.String |
getDataPath() |
|
SeqNoStats |
getSeqNoStats() |
|
ShardRouting |
getShardRouting() |
The shard routing information (cluster wide shard state).
|
java.lang.String |
getStatePath() |
|
CommonStats |
getStats() |
|
boolean |
isCustomDataPath() |
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
static ShardStats |
readShardStats(StreamInput in) |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewWriteableReaderisFragmentpublic ShardStats(ShardRouting routing, ShardPath shardPath, CommonStats commonStats, CommitStats commitStats, SeqNoStats seqNoStats)
public ShardRouting getShardRouting()
public CommonStats getStats()
public CommitStats getCommitStats()
@Nullable public SeqNoStats getSeqNoStats()
public java.lang.String getDataPath()
public java.lang.String getStatePath()
public boolean isCustomDataPath()
public static ShardStats readShardStats(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void readFrom(StreamInput in) throws java.io.IOException
StreamablereadFrom in interface Streamablejava.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
StreamablewriteTo in interface StreamablewriteTo in interface Writeablejava.io.IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOException