public class ScriptStats extends Object implements Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
ScriptStats() |
ScriptStats(long compilations,
long cacheEvictions) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ScriptStats stats) |
long |
getCacheEvictions() |
long |
getCompilations() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
public ScriptStats()
public ScriptStats(long compilations,
long cacheEvictions)
public void add(ScriptStats stats)
public long getCompilations()
public long getCacheEvictions()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.