org.elasticsearch.monitor.jvm
Class JvmStats.GarbageCollectors
java.lang.Object
org.elasticsearch.monitor.jvm.JvmStats.GarbageCollectors
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<JvmStats.GarbageCollector>, Streamable
- Enclosing class:
- JvmStats
public static class JvmStats.GarbageCollectors
- extends java.lang.Object
- implements Streamable, java.io.Serializable, java.lang.Iterable<JvmStats.GarbageCollector>
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readGarbageCollectors
public static JvmStats.GarbageCollectors readGarbageCollectors(StreamInput in)
throws java.io.IOException
- Throws:
java.io.IOException
readFrom
public void readFrom(StreamInput in)
throws java.io.IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
java.io.IOException
writeTo
public void writeTo(StreamOutput out)
throws java.io.IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
java.io.IOException
collectors
public JvmStats.GarbageCollector[] collectors()
iterator
public java.util.Iterator iterator()
- Specified by:
iterator
in interface java.lang.Iterable<JvmStats.GarbageCollector>
collectionCount
public long collectionCount()
collectionTime
public TimeValue collectionTime()