org.elasticsearch.monitor.jvm
Class JvmStats.GarbageCollector.LastGc

java.lang.Object
  extended by org.elasticsearch.monitor.jvm.JvmStats.GarbageCollector.LastGc
All Implemented Interfaces:
Streamable
Enclosing class:
JvmStats.GarbageCollector

public static class JvmStats.GarbageCollector.LastGc
extends Object
implements Streamable


Constructor Summary
JvmStats.GarbageCollector.LastGc(long startTime, long endTime, long max, long beforeUsed, long afterUsed, long duration)
           
 
Method Summary
 ByteSizeValue afterUsed()
           
 ByteSizeValue beforeUsed()
           
 TimeValue duration()
           
 long endTime()
           
 ByteSizeValue getAfterUsed()
           
 ByteSizeValue getBeforeUsed()
           
 TimeValue getDuration()
           
 long getEndTime()
           
 ByteSizeValue getMax()
           
 ByteSizeValue getReclaimed()
           
 long getStartTime()
           
 ByteSizeValue max()
           
 void readFrom(StreamInput in)
           
static JvmStats.GarbageCollector.LastGc readLastGc(StreamInput in)
           
 ByteSizeValue reclaimed()
           
 long startTime()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JvmStats.GarbageCollector.LastGc

public JvmStats.GarbageCollector.LastGc(long startTime,
                                        long endTime,
                                        long max,
                                        long beforeUsed,
                                        long afterUsed,
                                        long duration)
Method Detail

startTime

public long startTime()

getStartTime

public long getStartTime()

endTime

public long endTime()

getEndTime

public long getEndTime()

max

public ByteSizeValue max()

getMax

public ByteSizeValue getMax()

afterUsed

public ByteSizeValue afterUsed()

getAfterUsed

public ByteSizeValue getAfterUsed()

beforeUsed

public ByteSizeValue beforeUsed()

getBeforeUsed

public ByteSizeValue getBeforeUsed()

reclaimed

public ByteSizeValue reclaimed()

getReclaimed

public ByteSizeValue getReclaimed()

duration

public TimeValue duration()

getDuration

public TimeValue getDuration()

readLastGc

public static JvmStats.GarbageCollector.LastGc readLastGc(StreamInput in)
                                                   throws IOException
Throws:
IOException

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.