public class TranslogStats extends Object implements ToXContent, Streamable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
TranslogStats() |
TranslogStats(int estimatedNumberOfOperations,
long translogSizeInBytes) |
Modifier and Type | Method and Description |
---|---|
void |
add(TranslogStats translogStats) |
long |
estimatedNumberOfOperations() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
ByteSizeValue |
translogSizeInBytes() |
void |
writeTo(StreamOutput out) |
public TranslogStats()
public TranslogStats(int estimatedNumberOfOperations, long translogSizeInBytes)
public void add(TranslogStats translogStats)
public ByteSizeValue translogSizeInBytes()
public long estimatedNumberOfOperations()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2015. All rights reserved.