public static class JvmPauseMonitor.GarbageCollectorMXBeanView extends Object implements GarbageCollectorMXBean
Constructor and Description |
---|
GarbageCollectorMXBeanView(GarbageCollectorMXBean gcBean)
Creates a new instance of
JvmPauseMonitor.GarbageCollectorMXBeanView . |
Modifier and Type | Method and Description |
---|---|
long |
getCollectionCount() |
long |
getCollectionTime() |
String[] |
getMemoryPoolNames() |
String |
getName() |
ObjectName |
getObjectName() |
boolean |
isValid() |
public GarbageCollectorMXBeanView(GarbageCollectorMXBean gcBean)
JvmPauseMonitor.GarbageCollectorMXBeanView
.gcBean
- which the unmodifiable view should be constructed frompublic long getCollectionCount()
getCollectionCount
in interface GarbageCollectorMXBean
public long getCollectionTime()
getCollectionTime
in interface GarbageCollectorMXBean
public String getName()
getName
in interface MemoryManagerMXBean
public boolean isValid()
isValid
in interface MemoryManagerMXBean
public String[] getMemoryPoolNames()
getMemoryPoolNames
in interface MemoryManagerMXBean
public ObjectName getObjectName()
getObjectName
in interface PlatformManagedObject
Copyright © 2023. All Rights Reserved.