Package org.elasticsearch.monitor.jvm
Class JvmStats.GarbageCollectors
- java.lang.Object
-
- org.elasticsearch.monitor.jvm.JvmStats.GarbageCollectors
-
- All Implemented Interfaces:
Iterable<JvmStats.GarbageCollector>,Writeable
- Enclosing class:
- JvmStats
public static class JvmStats.GarbageCollectors extends Object implements Writeable, 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JvmStats.GarbageCollector[]getCollectors()Iterator<JvmStats.GarbageCollector>iterator()voidwriteTo(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
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
GarbageCollectors
public GarbageCollectors(JvmStats.GarbageCollector[] collectors)
-
GarbageCollectors
public GarbageCollectors(StreamInput in) throws IOException
- Throws:
IOException
-
-
Method Detail
-
writeTo
public void writeTo(StreamOutput out) throws IOException
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getCollectors
public JvmStats.GarbageCollector[] getCollectors()
-
iterator
public Iterator<JvmStats.GarbageCollector> iterator()
- Specified by:
iteratorin interfaceIterable<JvmStats.GarbageCollector>
-
-