Package jadex.bridge.sensor.memory
Class UsedPermGenMemoryProperty
- java.lang.Object
-
- jadex.bridge.nonfunctional.AbstractNFProperty<T,U>
-
- jadex.bridge.nonfunctional.SimpleValueNFProperty<T,U>
-
- jadex.bridge.nonfunctional.NFRootProperty<java.lang.Long,MemoryUnit>
-
- jadex.bridge.sensor.memory.MemoryProperty
-
- jadex.bridge.sensor.memory.UsedPermGenMemoryProperty
-
- All Implemented Interfaces:
INFProperty<java.lang.Long,MemoryUnit>
public class UsedPermGenMemoryProperty extends MemoryProperty
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jadex.bridge.nonfunctional.INFProperty
INFProperty.Target
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
The name of the property.-
Fields inherited from class jadex.bridge.nonfunctional.NFRootProperty
injected, root
-
Fields inherited from class jadex.bridge.nonfunctional.SimpleValueNFProperty
comp, value
-
Fields inherited from class jadex.bridge.nonfunctional.AbstractNFProperty
metainfo
-
-
Constructor Summary
Constructors Constructor Description UsedPermGenMemoryProperty(IInternalAccess comp)
Create a new property.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static java.lang.management.MemoryPoolMXBean
getPermGenMemoryPool()
Get the perm gen pool.java.lang.Long
measureValue()
Measure the value.-
Methods inherited from class jadex.bridge.nonfunctional.NFRootProperty
dispose, injectPropertyToRootComponent, isInjected
-
Methods inherited from class jadex.bridge.nonfunctional.SimpleValueNFProperty
getComponent, getPrettyPrintValue, getValue, setValue
-
Methods inherited from class jadex.bridge.nonfunctional.AbstractNFProperty
createProperty, getMetaInfo, getName, getValue, readNFProperties
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
The name of the property.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UsedPermGenMemoryProperty
public UsedPermGenMemoryProperty(IInternalAccess comp)
Create a new property.
-
-
Method Detail
-
measureValue
public java.lang.Long measureValue()
Measure the value.- Specified by:
measureValue
in classSimpleValueNFProperty<java.lang.Long,MemoryUnit>
-
getPermGenMemoryPool
protected static java.lang.management.MemoryPoolMXBean getPermGenMemoryPool()
Get the perm gen pool.
-
-