public class PublishClusterStateStats extends java.lang.Object implements Writeable, ToXContentObject
Writeable.Reader<V>, Writeable.Writer<V>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
PublishClusterStateStats(long fullClusterStateReceivedCount,
long incompatibleClusterStateDiffReceivedCount,
long compatibleClusterStateDiffReceivedCount) |
PublishClusterStateStats(StreamInput in) |
Modifier and Type | Method and Description |
---|---|
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 PublishClusterStateStats(long fullClusterStateReceivedCount, long incompatibleClusterStateDiffReceivedCount, long compatibleClusterStateDiffReceivedCount)
fullClusterStateReceivedCount
- the number of times this node has received a full copy of the cluster state from the master.incompatibleClusterStateDiffReceivedCount
- the number of times this node has received a cluster-state diff from the master.compatibleClusterStateDiffReceivedCount
- the number of times that received cluster-state diffs were compatible withpublic PublishClusterStateStats(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Writeable
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