public class JvmStats extends Object implements Streamable, Serializable, ToXContent
| Modifier and Type | Class and Description |
|---|---|
static class |
JvmStats.BufferPool |
static class |
JvmStats.GarbageCollector |
static class |
JvmStats.GarbageCollectors |
static class |
JvmStats.Mem |
static class |
JvmStats.MemoryPool |
static class |
JvmStats.Threads |
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
JvmStats(long timestamp,
long uptime) |
| Modifier and Type | Method and Description |
|---|---|
JvmStats.GarbageCollectors |
gc() |
JvmStats.GarbageCollectors |
getGc() |
JvmStats.Mem |
getMem() |
JvmStats.Threads |
getThreads() |
long |
getTimestamp() |
TimeValue |
getUptime() |
static boolean |
isLastGcEnabled() |
static JvmStats |
jvmStats() |
JvmStats.Mem |
mem() |
void |
readFrom(StreamInput in) |
static JvmStats |
readJvmStats(StreamInput in) |
JvmStats.Threads |
threads() |
long |
timestamp() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
TimeValue |
uptime() |
void |
writeTo(StreamOutput out) |
public static boolean isLastGcEnabled()
public static JvmStats jvmStats()
public long timestamp()
public long getTimestamp()
public TimeValue uptime()
public TimeValue getUptime()
public JvmStats.Mem mem()
public JvmStats.Mem getMem()
public JvmStats.Threads threads()
public JvmStats.Threads getThreads()
public JvmStats.GarbageCollectors gc()
public JvmStats.GarbageCollectors getGc()
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionpublic static JvmStats readJvmStats(StreamInput in) throws IOException
IOExceptionpublic 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.