本文整理汇总了Java中com.sun.jmx.snmp.agent.SnmpMib类的典型用法代码示例。如果您正苦于以下问题:Java SnmpMib类的具体用法?Java SnmpMib怎么用?Java SnmpMib使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SnmpMib类属于com.sun.jmx.snmp.agent包,在下文中一共展示了SnmpMib类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: JvmThreadingMeta
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的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());
}
}
示例2: JvmRuntimeMeta
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的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());
}
}
示例3: JvmThreadInstanceEntryMeta
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的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);
}
示例4: JvmMemoryMeta
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的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());
}
}
示例5: JvmOSMeta
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmOS".
*/
public JvmOSMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
try {
registerObject(4);
registerObject(3);
registerObject(2);
registerObject(1);
} catch (IllegalAccessException e) {
throw new RuntimeException(e.getMessage());
}
}
示例6: registerTableNodes
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
* Register the group's SnmpMibTable objects with the meta-data.
*/
public void registerTableNodes(SnmpMib mib, MBeanServer server) {
tableJvmMemMgrPoolRelTable = createJvmMemMgrPoolRelTableMetaNode("JvmMemMgrPoolRelTable", "JvmMemory", mib, server);
if ( tableJvmMemMgrPoolRelTable != null) {
tableJvmMemMgrPoolRelTable.registerEntryNode(mib,server);
mib.registerTableMeta("JvmMemMgrPoolRelTable", tableJvmMemMgrPoolRelTable);
}
tableJvmMemPoolTable = createJvmMemPoolTableMetaNode("JvmMemPoolTable", "JvmMemory", mib, server);
if ( tableJvmMemPoolTable != null) {
tableJvmMemPoolTable.registerEntryNode(mib,server);
mib.registerTableMeta("JvmMemPoolTable", tableJvmMemPoolTable);
}
tableJvmMemGCTable = createJvmMemGCTableMetaNode("JvmMemGCTable", "JvmMemory", mib, server);
if ( tableJvmMemGCTable != null) {
tableJvmMemGCTable.registerEntryNode(mib,server);
mib.registerTableMeta("JvmMemGCTable", tableJvmMemGCTable);
}
tableJvmMemManagerTable = createJvmMemManagerTableMetaNode("JvmMemManagerTable", "JvmMemory", mib, server);
if ( tableJvmMemManagerTable != null) {
tableJvmMemManagerTable.registerEntryNode(mib,server);
mib.registerTableMeta("JvmMemManagerTable", tableJvmMemManagerTable);
}
}
示例7: registerTableNodes
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
* Register the group's SnmpMibTable objects with the meta-data.
*/
public void registerTableNodes(SnmpMib mib, MBeanServer server) {
tableJvmThreadInstanceTable = createJvmThreadInstanceTableMetaNode("JvmThreadInstanceTable", "JvmThreading", mib, server);
if ( tableJvmThreadInstanceTable != null) {
tableJvmThreadInstanceTable.registerEntryNode(mib,server);
mib.registerTableMeta("JvmThreadInstanceTable", tableJvmThreadInstanceTable);
}
}
示例8: registerTableNodes
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
* Register the group's SnmpMibTable objects with the meta-data.
*/
public void registerTableNodes(SnmpMib mib, MBeanServer server) {
tableJvmRTLibraryPathTable = createJvmRTLibraryPathTableMetaNode("JvmRTLibraryPathTable", "JvmRuntime", mib, server);
if ( tableJvmRTLibraryPathTable != null) {
tableJvmRTLibraryPathTable.registerEntryNode(mib,server);
mib.registerTableMeta("JvmRTLibraryPathTable", tableJvmRTLibraryPathTable);
}
tableJvmRTClassPathTable = createJvmRTClassPathTableMetaNode("JvmRTClassPathTable", "JvmRuntime", mib, server);
if ( tableJvmRTClassPathTable != null) {
tableJvmRTClassPathTable.registerEntryNode(mib,server);
mib.registerTableMeta("JvmRTClassPathTable", tableJvmRTClassPathTable);
}
tableJvmRTBootClassPathTable = createJvmRTBootClassPathTableMetaNode("JvmRTBootClassPathTable", "JvmRuntime", mib, server);
if ( tableJvmRTBootClassPathTable != null) {
tableJvmRTBootClassPathTable.registerEntryNode(mib,server);
mib.registerTableMeta("JvmRTBootClassPathTable", tableJvmRTBootClassPathTable);
}
tableJvmRTInputArgsTable = createJvmRTInputArgsTableMetaNode("JvmRTInputArgsTable", "JvmRuntime", mib, server);
if ( tableJvmRTInputArgsTable != null) {
tableJvmRTInputArgsTable.registerEntryNode(mib,server);
mib.registerTableMeta("JvmRTInputArgsTable", tableJvmRTInputArgsTable);
}
}
示例9: JvmMemManagerEntryMeta
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmMemManagerEntry".
*/
public JvmMemManagerEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
varList = new int[2];
varList[0] = 3;
varList[1] = 2;
SnmpMibNode.sort(varList);
}
示例10: JvmRTBootClassPathEntryMeta
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmRTBootClassPathEntry".
*/
public JvmRTBootClassPathEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
varList = new int[1];
varList[0] = 2;
SnmpMibNode.sort(varList);
}
示例11: JvmMemMgrPoolRelEntryMeta
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmMemMgrPoolRelEntry".
*/
public JvmMemMgrPoolRelEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
varList = new int[2];
varList[0] = 3;
varList[1] = 2;
SnmpMibNode.sort(varList);
}
示例12: JvmMemGCEntryMeta
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmMemGCEntry".
*/
public JvmMemGCEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
varList = new int[2];
varList[0] = 3;
varList[1] = 2;
SnmpMibNode.sort(varList);
}
示例13: getManagers
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
private final JvmMemManagerTableMetaImpl getManagers(SnmpMib mib) {
if (managers == null) {
managers = (JvmMemManagerTableMetaImpl)
mib.getRegisteredTableMeta("JvmMemManagerTable");
}
return managers;
}
示例14: JvmCompilationMeta
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmCompilation".
*/
public JvmCompilationMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
try {
registerObject(3);
registerObject(2);
registerObject(1);
} catch (IllegalAccessException e) {
throw new RuntimeException(e.getMessage());
}
}
示例15: JvmRTInputArgsEntryMeta
import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
* Constructor for the metadata associated to "JvmRTInputArgsEntry".
*/
public JvmRTInputArgsEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
objectserver = objserv;
varList = new int[1];
varList[0] = 2;
SnmpMibNode.sort(varList);
}