当前位置: 首页>>代码示例>>Java>>正文


Java SnmpMib类代码示例

本文整理汇总了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());
    }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:19,代码来源:JvmThreadingMeta.java

示例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());
    }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:27,代码来源:JvmRuntimeMeta.java

示例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);
}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:19,代码来源:JvmThreadInstanceEntryMeta.java

示例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());
    }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:26,代码来源:JvmMemoryMeta.java

示例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());
    }
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:15,代码来源:JvmOSMeta.java

示例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);
    }

}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:30,代码来源:JvmMemoryMeta.java

示例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);
    }

}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:12,代码来源:JvmThreadingMeta.java

示例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);
    }

}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:30,代码来源:JvmRuntimeMeta.java

示例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);
}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:11,代码来源:JvmMemManagerEntryMeta.java

示例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);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:10,代码来源:JvmRTBootClassPathEntryMeta.java

示例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);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:11,代码来源:JvmMemMgrPoolRelEntryMeta.java

示例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);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:11,代码来源:JvmMemGCEntryMeta.java

示例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;
}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:8,代码来源:JvmMemMgrPoolRelTableMetaImpl.java

示例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());
    }
}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:14,代码来源:JvmCompilationMeta.java

示例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);
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:10,代码来源:JvmRTInputArgsEntryMeta.java


注:本文中的com.sun.jmx.snmp.agent.SnmpMib类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。