• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java SnmpMib类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.sun.jmx.snmp.agent.SnmpMib的典型用法代码示例。如果您正苦于以下问题:Java SnmpMib类的具体用法?Java SnmpMib怎么用?Java SnmpMib使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



SnmpMib类属于com.sun.jmx.snmp.agent包,在下文中一共展示了SnmpMib类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: JvmMemManagerTableMetaImpl

import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
 * Constructor for the table. Initialize metadata for
 * "JvmMemManagerTableMeta".
 * The reference on the MBean server is updated so the entries
 * created through an SNMP SET will be AUTOMATICALLY REGISTERED
 * in Java DMK.
 */
public JvmMemManagerTableMetaImpl(SnmpMib myMib,
                                  SnmpStandardObjectServer objserv) {
    super(myMib,objserv);
    this.cache = new
        JvmMemManagerTableCache(((JVM_MANAGEMENT_MIB_IMPL)myMib).
                                validity());
}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:15,代码来源:JvmMemManagerTableMetaImpl.java


示例17: JvmClassLoadingMeta

import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
 * Constructor for the metadata associated to "JvmClassLoading".
 */
public JvmClassLoadingMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    try {
        registerObject(4);
        registerObject(3);
        registerObject(2);
        registerObject(1);
    } catch (IllegalAccessException e) {
        throw new RuntimeException(e.getMessage());
    }
}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:15,代码来源:JvmClassLoadingMeta.java


示例18: JvmRTClassPathEntryMeta

import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
 * Constructor for the metadata associated to "JvmRTClassPathEntry".
 */
public JvmRTClassPathEntryMeta(SnmpMib myMib, SnmpStandardObjectServer objserv) {
    objectserver = objserv;
    varList = new int[1];
    varList[0] = 2;
    SnmpMibNode.sort(varList);
}
 
开发者ID:lambdalab-mirror,项目名称:jdk8u-jdk,代码行数:10,代码来源:JvmRTClassPathEntryMeta.java


示例19: JvmThreadInstanceTableMetaImpl

import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
/**
 * Constructor for the table. Initialize metadata for
 * "JvmThreadInstanceTableMeta".
 * The reference on the MBean server is updated so the entries created
 * through an SNMP SET will be AUTOMATICALLY REGISTERED in Java DMK.
 */
public JvmThreadInstanceTableMetaImpl(SnmpMib myMib,
                                      SnmpStandardObjectServer objserv) {
    super(myMib, objserv);
    cache = new JvmThreadInstanceTableCache(this,
                        ((JVM_MANAGEMENT_MIB_IMPL)myMib).validity());
    log.debug("JvmThreadInstanceTableMetaImpl", "Create Thread meta");
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:14,代码来源:JvmThreadInstanceTableMetaImpl.java


示例20: getPools

import com.sun.jmx.snmp.agent.SnmpMib; //导入依赖的package包/类
private final JvmMemPoolTableMetaImpl getPools(SnmpMib mib) {
    if (pools == null) {
        pools = (JvmMemPoolTableMetaImpl)
            mib.getRegisteredTableMeta("JvmMemPoolTable");
    }
    return pools;
}
 
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:8,代码来源:JvmMemMgrPoolRelTableMetaImpl.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java DatabaseMetaDataCallback类代码示例发布时间:2022-05-22
下一篇:
Java ClassLayout类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap