| Constructor and Description |
|---|
JvmMetricSet() |
| 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.
|
Map<String,com.codahale.metrics.Metric> |
getMetrics() |
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.
|
void |
shutdown() |
public Map<String,com.codahale.metrics.Metric> getMetrics()
getMetrics in interface com.codahale.metrics.MetricSetpublic List<BufferPoolStatus> getBufferPoolStatuses()
JvmStatusgetBufferPoolStatuses in interface JvmStatuspublic com.codahale.metrics.Gauge<Long> getTotalLoadedClassesGauge()
JvmStatusgetTotalLoadedClassesGauge in interface JvmStatusClassLoadingMXBean.getTotalLoadedClassCount()public com.codahale.metrics.Gauge<Long> getUnloadedClassesGauge()
JvmStatusgetUnloadedClassesGauge in interface JvmStatusClassLoadingMXBean.getUnloadedClassCount()public com.codahale.metrics.Gauge<Integer> getCurrentlyLoadedClassesGauge()
JvmStatusgetCurrentlyLoadedClassesGauge in interface JvmStatusClassLoadingMXBean.getLoadedClassCount()public com.codahale.metrics.Gauge<Integer> getCurrentThreadsGauge()
JvmStatusgetCurrentThreadsGauge in interface JvmStatusThreadMXBean.getThreadCount()public com.codahale.metrics.Gauge<Integer> getPeakThreadsGauge()
JvmStatusgetPeakThreadsGauge in interface JvmStatusThreadMXBean.getPeakThreadCount()public com.codahale.metrics.Gauge<Integer> getDaemonThreadsGauge()
JvmStatusgetDaemonThreadsGauge in interface JvmStatusThreadMXBean.getDaemonThreadCount()public com.codahale.metrics.Gauge<Integer> getDeadlockedThreadsGauge()
JvmStatusgetDeadlockedThreadsGauge in interface JvmStatusThreadMXBean.findDeadlockedThreads()public Map<Thread.State,com.codahale.metrics.Gauge<Integer>> getThreadsGaugesByThreadStates()
JvmStatusgetThreadsGaugesByThreadStates in interface JvmStatuspublic MemoryUsageStatus getTotalMemoryUsageStatus()
JvmStatusgetTotalMemoryUsageStatus in interface JvmStatuspublic MemoryUsageStatus getHeapMemoryUsageStatus()
JvmStatusgetHeapMemoryUsageStatus in interface JvmStatusMemoryMXBean.getHeapMemoryUsage()public MemoryUsageStatus getNonHeapMemoryUsageStatus()
JvmStatusgetNonHeapMemoryUsageStatus in interface JvmStatusMemoryMXBean.getNonHeapMemoryUsage()public List<MemoryPoolStatus> getMemoryPoolStatuses()
JvmStatusgetMemoryPoolStatuses in interface JvmStatuspublic List<GarbageCollectorStatus> getGarbageCollectorStatuses()
JvmStatusgetGarbageCollectorStatuses in interface JvmStatuspublic com.codahale.metrics.Timer getMinorGcTimer()
JvmStatusgetMinorGcTimer in interface JvmStatuspublic com.codahale.metrics.Timer getMajorGcTimer()
JvmStatusgetMajorGcTimer in interface JvmStatuspublic com.codahale.metrics.Gauge<Long> getFullGcCollectionsGauge()
JvmStatusgetFullGcCollectionsGauge in interface JvmStatuspublic com.codahale.metrics.Gauge<Long> getUptimeInMillisGauge()
JvmStatusgetUptimeInMillisGauge in interface JvmStatusRuntimeMXBean.getUptime()public void shutdown()
Copyright © 2016. All rights reserved.