Package org.elasticsearch.monitor.jvm
Class JvmStats.GarbageCollectors
java.lang.Object
org.elasticsearch.monitor.jvm.JvmStats.GarbageCollectors
- All Implemented Interfaces:
java.lang.Iterable<JvmStats.GarbageCollector>,Writeable
- Enclosing class:
- JvmStats
public static class JvmStats.GarbageCollectors extends java.lang.Object implements Writeable, java.lang.Iterable<JvmStats.GarbageCollector>
-
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 GarbageCollectors(StreamInput in)GarbageCollectors(JvmStats.GarbageCollector[] collectors) -
Method Summary
Modifier and Type Method Description JvmStats.GarbageCollector[]getCollectors()java.util.Iterator<JvmStats.GarbageCollector>iterator()voidwriteTo(StreamOutput out)Write this into the StreamOutput.
-
Constructor Details
-
GarbageCollectors
-
GarbageCollectors
- Throws:
java.io.IOException
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput. -
getCollectors
-
iterator
- Specified by:
iteratorin interfacejava.lang.Iterable<JvmStats.GarbageCollector>
-