public interface JvmStatus
| Modifier and Type | Method and Description |
|---|---|
List<BufferPoolStatus> |
getBufferPoolStatuses()
Retrieves a list of buffer pool statuses.
|
com.codahale.metrics.Gauge<Integer> |
getCurrentlyLoadedClassesGauge()
Retrieves the number of classes that are currently loaded in the JVM.
|
com.codahale.metrics.Gauge<Integer> |
getCurrentThreadsGauge()
Retrieves the current number of live threads including both daemon and non-daemon threads.
|
com.codahale.metrics.Gauge<Integer> |
getDaemonThreadsGauge()
Retrieves the current number of live daemon threads.
|
com.codahale.metrics.Gauge<Integer> |
getDeadlockedThreadsGauge()
Retrieves the number of threads that are currently deadlocked.
|
com.codahale.metrics.Gauge<Long> |
getFullGcCollectionsGauge()
Retrieves the number of full garbage collections since the JVM started execution.
|
List<GarbageCollectorStatus> |
getGarbageCollectorStatuses()
Retrieves a list of garbage collector statuses.
|
MemoryUsageStatus |
getHeapMemoryUsageStatus()
Retrieves the memory usage status of the heap space.
|
com.codahale.metrics.Timer |
getMajorGcTimer()
Retrieves the timer for major garbage collections.
|
List<MemoryPoolStatus> |
getMemoryPoolStatuses()
Retrieves a list of memory pool statuses.
|
com.codahale.metrics.Timer |
getMinorGcTimer()
Retrieves the timer for minor garbage collections.
|
MemoryUsageStatus |
getNonHeapMemoryUsageStatus()
Retrieves the memory usage status of the non-heap space.
|
com.codahale.metrics.Gauge<Integer> |
getPeakThreadsGauge()
Retrieves the peak live thread count since the JVM started or peak was reset.
|
Map<Thread.State,com.codahale.metrics.Gauge<Integer>> |
getThreadsGaugesByThreadStates()
Retrieves current thread counts by thread states.
|
com.codahale.metrics.Gauge<Long> |
getTotalLoadedClassesGauge()
Retrieves the total number of classes loaded since the JVM started execution.
|
MemoryUsageStatus |
getTotalMemoryUsageStatus()
Retrieves the total memory usage status, including both heap and non-heap spaces.
|
com.codahale.metrics.Gauge<Long> |
getUnloadedClassesGauge()
Retrieves the total number of classes unloaded since the JVM started execution.
|
com.codahale.metrics.Gauge<Long> |
getUptimeInMillisGauge()
Retrieves the uptime of the JVM in milliseconds.
|
com.codahale.metrics.Gauge<Long> getTotalLoadedClassesGauge()
ClassLoadingMXBean.getTotalLoadedClassCount()com.codahale.metrics.Gauge<Long> getUnloadedClassesGauge()
ClassLoadingMXBean.getUnloadedClassCount()com.codahale.metrics.Gauge<Integer> getCurrentlyLoadedClassesGauge()
ClassLoadingMXBean.getLoadedClassCount()com.codahale.metrics.Gauge<Integer> getCurrentThreadsGauge()
ThreadMXBean.getThreadCount()com.codahale.metrics.Gauge<Integer> getPeakThreadsGauge()
ThreadMXBean.getPeakThreadCount()com.codahale.metrics.Gauge<Integer> getDaemonThreadsGauge()
ThreadMXBean.getDaemonThreadCount()com.codahale.metrics.Gauge<Integer> getDeadlockedThreadsGauge()
ThreadMXBean.findDeadlockedThreads()Map<Thread.State,com.codahale.metrics.Gauge<Integer>> getThreadsGaugesByThreadStates()
List<BufferPoolStatus> getBufferPoolStatuses()
com.codahale.metrics.Gauge<Long> getFullGcCollectionsGauge()
com.codahale.metrics.Timer getMajorGcTimer()
com.codahale.metrics.Timer getMinorGcTimer()
List<GarbageCollectorStatus> getGarbageCollectorStatuses()
MemoryUsageStatus getTotalMemoryUsageStatus()
MemoryUsageStatus getHeapMemoryUsageStatus()
MemoryMXBean.getHeapMemoryUsage()MemoryUsageStatus getNonHeapMemoryUsageStatus()
MemoryMXBean.getNonHeapMemoryUsage()List<MemoryPoolStatus> getMemoryPoolStatuses()
com.codahale.metrics.Gauge<Long> getUptimeInMillisGauge()
RuntimeMXBean.getUptime()Copyright © 2016–2017. All rights reserved.