/**
* @return an instance of {@link CompositeType}for the
* {@link MemoryNotificationInfo}class.
*/
private static CompositeType getMemoryNotificationInfoCompositeType() {
if (MEMORYNOTIFICATIONINFO_COMPOSITETYPE == null) {
String[] typeNames = { "poolName", "usage", "count" };
String[] typeDescs = { "poolName", "usage", "count" };
OpenType[] typeTypes = { SimpleType.STRING,
getMemoryUsageCompositeType(), SimpleType.LONG };
try {
MEMORYNOTIFICATIONINFO_COMPOSITETYPE = new CompositeType(
MemoryNotificationInfo.class.getName(),
MemoryNotificationInfo.class.getName(), typeNames,
typeDescs, typeTypes);
} catch (OpenDataException e) {
if (ManagementUtils.VERBOSE_MODE) {
e.printStackTrace(System.err);
}// end if
}
}
return MEMORYNOTIFICATIONINFO_COMPOSITETYPE;
}
ManagementUtils.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:cn1
作者:
评论列表
文章目录