- java.lang.Object
 - 
- com.ibm.lang.management.TotalPhysicalMemoryNotificationInfo
 
 
- 
public class TotalPhysicalMemoryNotificationInfo extends Object
Encapsulates the details of a DLPAR notification emitted by aOperatingSystemMXBeanwhen the total physical memory changes. Specifically, this notification indicates that the value returned byOperatingSystemMXBean.getTotalPhysicalMemorySize()has changed. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringTOTAL_PHYSICAL_MEMORY_CHANGE 
- 
Constructor Summary
Constructors Constructor Description TotalPhysicalMemoryNotificationInfo(long newTotalPhysicalMemory)Constructs a new instance of this object. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TotalPhysicalMemoryNotificationInfofrom(CompositeData cd)Receives aCompositeDatarepresenting aTotalPhysicalMemoryNotificationInfoobject and attempts to return the rootTotalPhysicalMemoryNotificationInfoinstance.longgetNewTotalPhysicalMemory()Returns the new value of bytes for the total physical memory after the change that this notification corresponds to. 
 - 
 
- 
- 
Field Detail
- 
TOTAL_PHYSICAL_MEMORY_CHANGE
public static final String TOTAL_PHYSICAL_MEMORY_CHANGE
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getNewTotalPhysicalMemory
public long getNewTotalPhysicalMemory()
Returns the new value of bytes for the total physical memory after the change that this notification corresponds to.- Returns:
 - the new physical memory total in bytes
 
 
- 
from
public static TotalPhysicalMemoryNotificationInfo from(CompositeData cd)
Receives aCompositeDatarepresenting aTotalPhysicalMemoryNotificationInfoobject and attempts to return the rootTotalPhysicalMemoryNotificationInfoinstance.- Parameters:
 cd- aCompositeDatethat represents aTotalPhysicalMemoryNotificationInfo.- Returns:
 - if 
cdis non-null, returns a new instance ofTotalPhysicalMemoryNotificationInfo. Ifcdisnull, returnsnull. - Throws:
 IllegalArgumentException- if argumentcddoes not correspond to aTotalPhysicalMemoryNotificationInfowith the following attribute:newTotalPhysicalMemory(java.lang.Long)
 
 - 
 
 -