Class: sun.management.MemoryNotifInfoCompositeData
- public class MemoryNotifInfoCompositeData
- extends LazyCompositeData
A CompositeData for MemoryNotificationInfo for the local management support.
This class avoids the performance penalty paid to the
construction of a CompositeData use in the local case.
Inheritance
Superclass tree:- java.lang.Object
- sun.management.LazyCompositeData
- sun.management.MemoryNotifInfoCompositeData
Methods
-
MemoryNotifInfoCompositeDatatop
private MemoryNotifInfoCompositeData(MemoryNotificationInfo info) -
getCompositeDatatop
protected CompositeData getCompositeData()Returns the CompositeData representing this object. The returned CompositeData object must be an instance of javax.management.openmbean.CompositeDataSupport class so that no implementation specific class is required for unmarshalling besides JMX 1.2 classes.- Override hierarchy:
- getCompositeData from LazyCompositeData
-
getCounttop
public static long getCount(CompositeData cd) -
getMemoryNotifInfotop
public MemoryNotificationInfo getMemoryNotifInfo() -
getPoolNametop
public static String getPoolName(CompositeData cd) -
getUsagetop
public static MemoryUsage getUsage(CompositeData cd) -
toCompositeDatatop
public static CompositeData toCompositeData(MemoryNotificationInfo info) -
validateCompositeDatatop
public static void validateCompositeData(CompositeData cd)Validate if the input CompositeData has the expected CompositeType (i.e. contain all attributes with expected names and types).
Fields
-
COUNT
static final private String COUNT = "count" -
POOL_NAME
static final private String POOL_NAME = "poolName" -
USAGE
static final private String USAGE = "usage" -
memoryNotifInfo
final private MemoryNotificationInfo memoryNotifInfo -
memoryNotifInfoCompositeType
static final private CompositeType memoryNotifInfoCompositeType -
memoryNotifInfoItemNames
static final private String[] memoryNotifInfoItemNames
