Class TotalPhysicalMemoryNotificationInfo
java.lang.Object
com.ibm.lang.management.TotalPhysicalMemoryNotificationInfo
Encapsulates the details of a DLPAR notification emitted by a
OperatingSystemMXBean when the total
physical memory changes.
Specifically, this notification indicates that the value returned by
OperatingSystemMXBean.getTotalPhysicalMemorySize()
has changed.- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionTotalPhysicalMemoryNotificationInfo(long newTotalPhysicalMemory) Constructs a new instance of this object. - 
Method Summary
Modifier and TypeMethodDescriptionfrom(CompositeData cd) Receives aCompositeDatarepresenting aTotalPhysicalMemoryNotificationInfoobject and attempts to return the rootTotalPhysicalMemoryNotificationInfoinstance.longReturns the new value of bytes for the total physical memory after the change that this notification corresponds to. 
- 
Field Details
- 
TOTAL_PHYSICAL_MEMORY_CHANGE
- See Also:
 
 
 - 
 - 
Constructor Details
- 
TotalPhysicalMemoryNotificationInfo
public TotalPhysicalMemoryNotificationInfo(long newTotalPhysicalMemory) Constructs a new instance of this object.- Parameters:
 newTotalPhysicalMemory- the new total bytes of physical memory
 
 - 
 - 
Method Details
- 
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
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)
 
 -