Package org.opensearch.monitor.jvm
Class JvmStats.GarbageCollectors
java.lang.Object
org.opensearch.monitor.jvm.JvmStats.GarbageCollectors
- All Implemented Interfaces:
Iterable<JvmStats.GarbageCollector>
,org.opensearch.core.common.io.stream.Writeable
- Enclosing class:
JvmStats
public static class JvmStats.GarbageCollectors
extends Object
implements org.opensearch.core.common.io.stream.Writeable, Iterable<JvmStats.GarbageCollector>
Garbage collector references.
- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V>
-
Constructor Summary
ConstructorsConstructorDescriptionGarbageCollectors
(org.opensearch.core.common.io.stream.StreamInput in) GarbageCollectors
(JvmStats.GarbageCollector[] collectors) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
GarbageCollectors
-
GarbageCollectors
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeTo
in interfaceorg.opensearch.core.common.io.stream.Writeable
- Throws:
IOException
-
getCollectors
-
iterator
- Specified by:
iterator
in interfaceIterable<JvmStats.GarbageCollector>
-