Package org.elasticsearch.monitor.jvm
Class JvmStats.GarbageCollector
java.lang.Object
org.elasticsearch.monitor.jvm.JvmStats.GarbageCollector
- All Implemented Interfaces:
Writeable
- Enclosing class:
- JvmStats
public static class JvmStats.GarbageCollector extends java.lang.Object implements Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
Constructors Constructor Description GarbageCollector(java.lang.String name, long collectionCount, long collectionTime)
GarbageCollector(StreamInput in)
-
Method Summary
Modifier and Type Method Description long
getCollectionCount()
org.elasticsearch.common.unit.TimeValue
getCollectionTime()
java.lang.String
getName()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GarbageCollector
public GarbageCollector(java.lang.String name, long collectionCount, long collectionTime) -
GarbageCollector
- Throws:
java.io.IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
getName
public java.lang.String getName() -
getCollectionCount
public long getCollectionCount() -
getCollectionTime
public org.elasticsearch.common.unit.TimeValue getCollectionTime()
-