internal MemoryNotificationInfo(CompositeData cd) { MemoryNotifInfoCompositeData.validateCompositeData(cd); this.PoolName_Renamed = MemoryNotifInfoCompositeData.getPoolName(cd); this.Usage_Renamed = MemoryNotifInfoCompositeData.getUsage(cd); this.Count_Renamed = MemoryNotifInfoCompositeData.getCount(cd); }
/// <summary> /// Constructs a <tt>MemoryNotificationInfo</tt> object. /// </summary> /// <param name="poolName"> The name of the memory pool which triggers this notification. </param> /// <param name="usage"> Memory usage of the memory pool. </param> /// <param name="count"> The threshold crossing count. </param> public MemoryNotificationInfo(String poolName, MemoryUsage usage, long count) { if (poolName == null) { throw new NullPointerException("Null poolName"); } if (usage == null) { throw new NullPointerException("Null usage"); } this.PoolName_Renamed = poolName; this.Usage_Renamed = usage; this.Count_Renamed = count; }