Writeable, ToXContent, ToXContentFragmentpublic class PendingClusterStateStats extends java.lang.Object implements Writeable, ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>EMPTY_PARAMS| Constructor | Description |
|---|---|
PendingClusterStateStats(int total,
int pending,
int committed) |
|
PendingClusterStateStats(StreamInput in) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getCommitted() |
|
int |
getPending() |
|
int |
getTotal() |
|
java.lang.String |
toString() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
void |
writeTo(StreamOutput out) |
Write this into the StreamOutput.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisFragmentpublic PendingClusterStateStats(int total,
int pending,
int committed)
public PendingClusterStateStats(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic int getCommitted()
public int getPending()
public int getTotal()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object