APIdia Launch Partner
Top Description Fields Constructors Methods
sun.management

public Class MemoryUsageCompositeData

extends LazyCompositeData
Class Inheritance
Imports
java.lang.management.MemoryUsage, javax.management.openmbean.CompositeType, .CompositeData, .CompositeDataSupport, .OpenDataException

A CompositeData for MemoryUsage for the local management support. This class avoids the performance penalty paid to the construction of a CompositeData use in the local case.

Field Summary

Modifier and TypeField and Description
private static final String
private static final String
private static final String
private static final CompositeType
private static final String[]
private static final long
private final MemoryUsage
private static final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static long
protected CompositeData
getCompositeData()

Implements abstract sun.management.LazyCompositeData.getCompositeData.

Returns the CompositeData representing this object.

public static long
public static long
public MemoryUsage
pack-priv static CompositeType
public static long
public static CompositeData
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).

Inherited from sun.management.LazyCompositeData:
containsKeycontainsValueequalsgetgetAllgetBooleangetCompositeTypegetIntgetLonggetStringhashCodeisTypeMatchedisTypeMatchedisTypeMatchedtoStringvalueswriteReplace

Field Detail

COMMITTEDback to summary
private static final String COMMITTED
INITback to summary
private static final String INIT
MAXback to summary
private static final String MAX
memoryUsageCompositeTypeback to summary
private static final CompositeType memoryUsageCompositeType
memoryUsageItemNamesback to summary
private static final String[] memoryUsageItemNames
serialVersionUIDback to summary
private static final long serialVersionUID

Hides sun.management.LazyCompositeData.serialVersionUID.

usageback to summary
private final MemoryUsage usage
Annotations
@SuppressWarnings:serial
USEDback to summary
private static final String USED

Constructor Detail

MemoryUsageCompositeDataback to summary
private MemoryUsageCompositeData(MemoryUsage u)

Method Detail

getCommittedback to summary
public static long getCommitted(CompositeData cd)
getCompositeDataback to summary
protected CompositeData getCompositeData()

Implements abstract sun.management.LazyCompositeData.getCompositeData.

Doc from sun.management.LazyCompositeData.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.

getInitback to summary
public static long getInit(CompositeData cd)
getMaxback to summary
public static long getMax(CompositeData cd)
getMemoryUsageback to summary
public MemoryUsage getMemoryUsage()
getMemoryUsageCompositeTypeback to summary
pack-priv static CompositeType getMemoryUsageCompositeType()
getUsedback to summary
public static long getUsed(CompositeData cd)
toCompositeDataback to summary
public static CompositeData toCompositeData(MemoryUsage u)
validateCompositeDataback to summary
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).