public class TranslogStats extends Object implements ToXContent, Streamable
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_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 ToXContentIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2016. All rights reserved.