Writeable
, ToXContent
, ToXContentFragment
public class PendingClusterStateStats extends java.lang.Object implements Writeable, ToXContentFragment
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.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, wait
isFragment
public PendingClusterStateStats(int total, int pending, int committed)
public PendingClusterStateStats(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
public int getCommitted()
public int getPending()
public int getTotal()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object