Class: sun.management.MemoryPoolImpl.PoolSensor
- class MemoryPoolImpl.PoolSensor
- extends Sensor
PoolSensor will be triggered by the VM when the memory
usage of a memory pool is crossing the usage threshold.
The VM will not trigger this sensor in subsequent crossing
unless the memory usage has returned below the threshold.
Inheritance
Superclass tree:- java.lang.Object
- sun.management.Sensor
- sun.management.MemoryPoolImpl.PoolSensor
Methods
-
MemoryPoolImpl.PoolSensortop
MemoryPoolImpl.PoolSensor(MemoryPoolImpl pool, String name) -
clearActiontop
void clearAction()- Override hierarchy:
- clearAction from Sensor
-
triggerActiontop
void triggerAction()- Override hierarchy:
- triggerAction from Sensor
-
triggerActiontop
void triggerAction(MemoryUsage usage)- Override hierarchy:
- triggerAction from Sensor
Fields
-
pool
MemoryPoolImpl pool
