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()
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
-
-
Constructor Detail
-
GarbageCollectors
public GarbageCollectors(JvmStats.GarbageCollector[] collectors)
-
GarbageCollectors
public GarbageCollectors(StreamInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
writeTo
public void writeTo(StreamOutput out) throws java.io.IOException
Description copied from interface:Writeable
Write this into the StreamOutput.
-
getCollectors
public JvmStats.GarbageCollector[] getCollectors()
-
iterator
public java.util.Iterator<JvmStats.GarbageCollector> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<JvmStats.GarbageCollector>
-
-