本文整理汇总了Java中com.sun.jmx.snmp.agent.SnmpStandardObjectServer类的典型用法代码示例。如果您正苦于以下问题:Java SnmpStandardObjectServer类的具体用法?Java SnmpStandardObjectServer怎么用?Java SnmpStandardObjectServer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SnmpStandardObjectServer类属于com.sun.jmx.snmp.agent包,在下文中一共展示了SnmpStandardObjectServer类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: JvmThreadingMeta
import com.sun.jmx.snmp.agent.SnmpStandardObjectServer; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmThreading".
*/
public JvmThreadingMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
try {
registerObject(6);
registerObject(5);
registerObject(4);
registerObject(3);
registerObject(2);
registerObject(1);
registerObject(10);
registerObject(7);
} catch (IllegalAccessException e) {
throw new RuntimeException(e.getMessage());
}
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:19,代码来源:JvmThreadingMeta.java
示例2: JvmRuntimeMeta
import com.sun.jmx.snmp.agent.SnmpStandardObjectServer; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmRuntime".
*/
public JvmRuntimeMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
try {
registerObject(23);
registerObject(22);
registerObject(21);
registerObject(9);
registerObject(20);
registerObject(8);
registerObject(7);
registerObject(6);
registerObject(5);
registerObject(4);
registerObject(3);
registerObject(12);
registerObject(11);
registerObject(2);
registerObject(1);
registerObject(10);
} catch (IllegalAccessException e) {
throw new RuntimeException(e.getMessage());
}
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:27,代码来源:JvmRuntimeMeta.java
示例3: JvmMemPoolEntryMeta
import com.sun.jmx.snmp.agent.SnmpStandardObjectServer; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmMemPoolEntry".
*/
public JvmMemPoolEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
varList = new int[20];
varList[0] = 33;
varList[1] = 32;
varList[2] = 31;
varList[3] = 133;
varList[4] = 132;
varList[5] = 131;
varList[6] = 13;
varList[7] = 12;
varList[8] = 11;
varList[9] = 10;
varList[10] = 112;
varList[11] = 111;
varList[12] = 110;
varList[13] = 5;
varList[14] = 4;
varList[15] = 3;
varList[16] = 2;
varList[17] = 23;
varList[18] = 22;
varList[19] = 21;
SnmpMibNode.sort(varList);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:29,代码来源:JvmMemPoolEntryMeta.java
示例4: JvmThreadInstanceEntryMeta
import com.sun.jmx.snmp.agent.SnmpStandardObjectServer; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmThreadInstanceEntry".
*/
public JvmThreadInstanceEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
varList = new int[10];
varList[0] = 9;
varList[1] = 8;
varList[2] = 7;
varList[3] = 6;
varList[4] = 5;
varList[5] = 4;
varList[6] = 3;
varList[7] = 11;
varList[8] = 2;
varList[9] = 10;
SnmpMibNode.sort(varList);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:19,代码来源:JvmThreadInstanceEntryMeta.java
示例5: JvmMemoryMeta
import com.sun.jmx.snmp.agent.SnmpStandardObjectServer; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmMemory".
*/
public JvmMemoryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
try {
registerObject(120);
registerObject(23);
registerObject(22);
registerObject(21);
registerObject(110);
registerObject(20);
registerObject(13);
registerObject(12);
registerObject(3);
registerObject(11);
registerObject(2);
registerObject(101);
registerObject(10);
registerObject(1);
registerObject(100);
} catch (IllegalAccessException e) {
throw new RuntimeException(e.getMessage());
}
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:26,代码来源:JvmMemoryMeta.java
注:本文中的com.sun.jmx.snmp.agent.SnmpStandardObjectServer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论