com.sun.jmx.snmp.agent.SnmpMibTable Java Examples

The following examples show how to use com.sun.jmx.snmp.agent.SnmpMibTable. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JvmMemoryMeta.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 120:
            return tableJvmMemMgrPoolRelTable;
        case 110:
            return tableJvmMemPoolTable;
        case 101:
            return tableJvmMemGCTable;
        case 100:
            return tableJvmMemManagerTable;
    default:
        break;
    }
    return null;
}
 
Example #2
Source File: JvmMemoryMeta.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 120:
            return tableJvmMemMgrPoolRelTable;
        case 110:
            return tableJvmMemPoolTable;
        case 101:
            return tableJvmMemGCTable;
        case 100:
            return tableJvmMemManagerTable;
    default:
        break;
    }
    return null;
}
 
Example #3
Source File: JvmMemoryMeta.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 120:
            return tableJvmMemMgrPoolRelTable;
        case 110:
            return tableJvmMemPoolTable;
        case 101:
            return tableJvmMemGCTable;
        case 100:
            return tableJvmMemManagerTable;
    default:
        break;
    }
    return null;
}
 
Example #4
Source File: JvmRuntimeMeta.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 23:
            return tableJvmRTLibraryPathTable;
        case 22:
            return tableJvmRTClassPathTable;
        case 21:
            return tableJvmRTBootClassPathTable;
        case 20:
            return tableJvmRTInputArgsTable;
    default:
        break;
    }
    return null;
}
 
Example #5
Source File: JvmMemoryMeta.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 120:
            return tableJvmMemMgrPoolRelTable;
        case 110:
            return tableJvmMemPoolTable;
        case 101:
            return tableJvmMemGCTable;
        case 100:
            return tableJvmMemManagerTable;
    default:
        break;
    }
    return null;
}
 
Example #6
Source File: JvmMemoryMeta.java    From jdk8u_jdk with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 120:
            return tableJvmMemMgrPoolRelTable;
        case 110:
            return tableJvmMemPoolTable;
        case 101:
            return tableJvmMemGCTable;
        case 100:
            return tableJvmMemManagerTable;
    default:
        break;
    }
    return null;
}
 
Example #7
Source File: JvmMemoryMeta.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 120:
            return tableJvmMemMgrPoolRelTable;
        case 110:
            return tableJvmMemPoolTable;
        case 101:
            return tableJvmMemGCTable;
        case 100:
            return tableJvmMemManagerTable;
    default:
        break;
    }
    return null;
}
 
Example #8
Source File: JvmMemoryMeta.java    From dragonwell8_jdk with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 120:
            return tableJvmMemMgrPoolRelTable;
        case 110:
            return tableJvmMemPoolTable;
        case 101:
            return tableJvmMemGCTable;
        case 100:
            return tableJvmMemManagerTable;
    default:
        break;
    }
    return null;
}
 
Example #9
Source File: JvmRuntimeMeta.java    From jdk8u_jdk with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 23:
            return tableJvmRTLibraryPathTable;
        case 22:
            return tableJvmRTClassPathTable;
        case 21:
            return tableJvmRTBootClassPathTable;
        case 20:
            return tableJvmRTInputArgsTable;
    default:
        break;
    }
    return null;
}
 
Example #10
Source File: JvmRuntimeMeta.java    From dragonwell8_jdk with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 23:
            return tableJvmRTLibraryPathTable;
        case 22:
            return tableJvmRTClassPathTable;
        case 21:
            return tableJvmRTBootClassPathTable;
        case 20:
            return tableJvmRTInputArgsTable;
    default:
        break;
    }
    return null;
}
 
Example #11
Source File: JvmRuntimeMeta.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 23:
            return tableJvmRTLibraryPathTable;
        case 22:
            return tableJvmRTClassPathTable;
        case 21:
            return tableJvmRTBootClassPathTable;
        case 20:
            return tableJvmRTInputArgsTable;
    default:
        break;
    }
    return null;
}
 
Example #12
Source File: JvmMemoryMeta.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 120:
            return tableJvmMemMgrPoolRelTable;
        case 110:
            return tableJvmMemPoolTable;
        case 101:
            return tableJvmMemGCTable;
        case 100:
            return tableJvmMemManagerTable;
    default:
        break;
    }
    return null;
}
 
Example #13
Source File: JvmRuntimeMeta.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 23:
            return tableJvmRTLibraryPathTable;
        case 22:
            return tableJvmRTClassPathTable;
        case 21:
            return tableJvmRTBootClassPathTable;
        case 20:
            return tableJvmRTInputArgsTable;
    default:
        break;
    }
    return null;
}
 
Example #14
Source File: JvmRuntimeMeta.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 23:
            return tableJvmRTLibraryPathTable;
        case 22:
            return tableJvmRTClassPathTable;
        case 21:
            return tableJvmRTBootClassPathTable;
        case 20:
            return tableJvmRTInputArgsTable;
    default:
        break;
    }
    return null;
}
 
Example #15
Source File: JvmThreadingMeta.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 10:
            return tableJvmThreadInstanceTable;
    default:
        break;
    }
    return null;
}
 
Example #16
Source File: JVM_MANAGEMENT_MIB_IMPL.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * WARNING: This should probably be moved to JvmMemPoolTableMetaImpl
 **/
private SnmpTableHandler getJvmMemPoolTableHandler(Object userData) {
    final SnmpMibTable meta =
        getRegisteredTableMeta("JvmMemPoolTable");
    if (! (meta instanceof JvmMemPoolTableMetaImpl)) {
        final String err = ((meta==null)?"No metadata for JvmMemPoolTable":
                            "Bad metadata class for JvmMemPoolTable: " +
                            meta.getClass().getName());
        log.error("getJvmMemPoolTableHandler", err);
        return null;
    }
    final JvmMemPoolTableMetaImpl memPoolTable =
        (JvmMemPoolTableMetaImpl) meta;
    return memPoolTable.getHandler(userData);
}
 
Example #17
Source File: JvmThreadingMeta.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 10:
            return tableJvmThreadInstanceTable;
    default:
        break;
    }
    return null;
}
 
Example #18
Source File: JVM_MANAGEMENT_MIB_IMPL.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * WARNING: This should probably be moved to JvmMemPoolTableMetaImpl
 **/
private SnmpTableHandler getJvmMemPoolTableHandler(Object userData) {
    final SnmpMibTable meta =
        getRegisteredTableMeta("JvmMemPoolTable");
    if (! (meta instanceof JvmMemPoolTableMetaImpl)) {
        final String err = ((meta==null)?"No metadata for JvmMemPoolTable":
                            "Bad metadata class for JvmMemPoolTable: " +
                            meta.getClass().getName());
        log.error("getJvmMemPoolTableHandler", err);
        return null;
    }
    final JvmMemPoolTableMetaImpl memPoolTable =
        (JvmMemPoolTableMetaImpl) meta;
    return memPoolTable.getHandler(userData);
}
 
Example #19
Source File: JVM_MANAGEMENT_MIB_IMPL.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * WARNING: This should probably be moved to JvmMemPoolTableMetaImpl
 **/
private SnmpTableHandler getJvmMemPoolTableHandler(Object userData) {
    final SnmpMibTable meta =
        getRegisteredTableMeta("JvmMemPoolTable");
    if (! (meta instanceof JvmMemPoolTableMetaImpl)) {
        final String err = ((meta==null)?"No metadata for JvmMemPoolTable":
                            "Bad metadata class for JvmMemPoolTable: " +
                            meta.getClass().getName());
        log.error("getJvmMemPoolTableHandler", err);
        return null;
    }
    final JvmMemPoolTableMetaImpl memPoolTable =
        (JvmMemPoolTableMetaImpl) meta;
    return memPoolTable.getHandler(userData);
}
 
Example #20
Source File: JvmThreadingMeta.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 10:
            return tableJvmThreadInstanceTable;
    default:
        break;
    }
    return null;
}
 
Example #21
Source File: JVM_MANAGEMENT_MIB_IMPL.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
/**
 * WARNING: This should probably be moved to JvmMemPoolTableMetaImpl
 **/
private SnmpTableHandler getJvmMemPoolTableHandler(Object userData) {
    final SnmpMibTable meta =
        getRegisteredTableMeta("JvmMemPoolTable");
    if (! (meta instanceof JvmMemPoolTableMetaImpl)) {
        final String err = ((meta==null)?"No metadata for JvmMemPoolTable":
                            "Bad metadata class for JvmMemPoolTable: " +
                            meta.getClass().getName());
        log.error("getJvmMemPoolTableHandler", err);
        return null;
    }
    final JvmMemPoolTableMetaImpl memPoolTable =
        (JvmMemPoolTableMetaImpl) meta;
    return memPoolTable.getHandler(userData);
}
 
Example #22
Source File: JVM_MANAGEMENT_MIB_IMPL.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * WARNING: This should probably be moved to JvmMemPoolTableMetaImpl
 **/
private SnmpTableHandler getJvmMemPoolTableHandler(Object userData) {
    final SnmpMibTable meta =
        getRegisteredTableMeta("JvmMemPoolTable");
    if (! (meta instanceof JvmMemPoolTableMetaImpl)) {
        final String err = ((meta==null)?"No metadata for JvmMemPoolTable":
                            "Bad metadata class for JvmMemPoolTable: " +
                            meta.getClass().getName());
        log.error("getJvmMemPoolTableHandler", err);
        return null;
    }
    final JvmMemPoolTableMetaImpl memPoolTable =
        (JvmMemPoolTableMetaImpl) meta;
    return memPoolTable.getHandler(userData);
}
 
Example #23
Source File: JVM_MANAGEMENT_MIB_IMPL.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * WARNING: This should probably be moved to JvmMemPoolTableMetaImpl
 **/
private SnmpTableHandler getJvmMemPoolTableHandler(Object userData) {
    final SnmpMibTable meta =
        getRegisteredTableMeta("JvmMemPoolTable");
    if (! (meta instanceof JvmMemPoolTableMetaImpl)) {
        final String err = ((meta==null)?"No metadata for JvmMemPoolTable":
                            "Bad metadata class for JvmMemPoolTable: " +
                            meta.getClass().getName());
        log.error("getJvmMemPoolTableHandler", err);
        return null;
    }
    final JvmMemPoolTableMetaImpl memPoolTable =
        (JvmMemPoolTableMetaImpl) meta;
    return memPoolTable.getHandler(userData);
}
 
Example #24
Source File: JVM_MANAGEMENT_MIB_IMPL.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * WARNING: This should probably be moved to JvmMemPoolTableMetaImpl
 **/
private SnmpTableHandler getJvmMemPoolTableHandler(Object userData) {
    final SnmpMibTable meta =
        getRegisteredTableMeta("JvmMemPoolTable");
    if (! (meta instanceof JvmMemPoolTableMetaImpl)) {
        final String err = ((meta==null)?"No metadata for JvmMemPoolTable":
                            "Bad metadata class for JvmMemPoolTable: " +
                            meta.getClass().getName());
        log.error("getJvmMemPoolTableHandler", err);
        return null;
    }
    final JvmMemPoolTableMetaImpl memPoolTable =
        (JvmMemPoolTableMetaImpl) meta;
    return memPoolTable.getHandler(userData);
}
 
Example #25
Source File: JvmThreadingMeta.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 10:
            return tableJvmThreadInstanceTable;
    default:
        break;
    }
    return null;
}
 
Example #26
Source File: JVM_MANAGEMENT_MIB_IMPL.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * WARNING: This should probably be moved to JvmMemPoolTableMetaImpl
 **/
private SnmpTableHandler getJvmMemPoolTableHandler(Object userData) {
    final SnmpMibTable meta =
        getRegisteredTableMeta("JvmMemPoolTable");
    if (! (meta instanceof JvmMemPoolTableMetaImpl)) {
        final String err = ((meta==null)?"No metadata for JvmMemPoolTable":
                            "Bad metadata class for JvmMemPoolTable: " +
                            meta.getClass().getName());
        log.error("getJvmMemPoolTableHandler", err);
        return null;
    }
    final JvmMemPoolTableMetaImpl memPoolTable =
        (JvmMemPoolTableMetaImpl) meta;
    return memPoolTable.getHandler(userData);
}
 
Example #27
Source File: JvmThreadingMeta.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {

    switch((int)arc) {
        case 10:
            return tableJvmThreadInstanceTable;
    default:
        break;
    }
    return null;
}
 
Example #28
Source File: JvmClassLoadingMeta.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {
    return null;
}
 
Example #29
Source File: JvmOSMeta.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {
    return null;
}
 
Example #30
Source File: JvmCompilationMeta.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Returns the table object identified by "arc".
 */
public SnmpMibTable getTable(long arc) {
    return null;
}