Java Code Examples for com.sun.jmx.snmp.SnmpString
The following examples show how to use
com.sun.jmx.snmp.SnmpString. These examples are extracted from open source projects.
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 Project: dragonwell8_jdk Source File: JvmOSMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 4: return new SnmpInt(node.getJvmOSProcessorCount()); case 3: return new SnmpString(node.getJvmOSVersion()); case 2: return new SnmpString(node.getJvmOSArch()); case 1: return new SnmpString(node.getJvmOSName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 2
Source Project: jdk8u_jdk Source File: JvmMemManagerEntryMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmMemManagerState()); case 2: return new SnmpString(node.getJvmMemManagerName()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 3
Source Project: dragonwell8_jdk Source File: JvmCompilationMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmJITCompilerTimeMonitoring()); case 2: return new SnmpCounter64(node.getJvmJITCompilerTimeMs()); case 1: return new SnmpString(node.getJvmJITCompilerName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 4
Source Project: TencentKona-8 Source File: JvmMemManagerEntryMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmMemManagerState()); case 2: return new SnmpString(node.getJvmMemManagerName()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 5
Source Project: jdk8u_jdk Source File: JvmOSMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 4: return new SnmpInt(node.getJvmOSProcessorCount()); case 3: return new SnmpString(node.getJvmOSVersion()); case 2: return new SnmpString(node.getJvmOSArch()); case 1: return new SnmpString(node.getJvmOSName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 6
Source Project: jdk8u60 Source File: JvmOSMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 4: return new SnmpInt(node.getJvmOSProcessorCount()); case 3: return new SnmpString(node.getJvmOSVersion()); case 2: return new SnmpString(node.getJvmOSArch()); case 1: return new SnmpString(node.getJvmOSName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 7
Source Project: jdk8u60 Source File: JvmMemManagerEntryMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmMemManagerState()); case 2: return new SnmpString(node.getJvmMemManagerName()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 8
Source Project: jdk8u60 Source File: JvmCompilationMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmJITCompilerTimeMonitoring()); case 2: return new SnmpCounter64(node.getJvmJITCompilerTimeMs()); case 1: return new SnmpString(node.getJvmJITCompilerName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 9
Source Project: openjdk-jdk8u Source File: JvmOSMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 4: return new SnmpInt(node.getJvmOSProcessorCount()); case 3: return new SnmpString(node.getJvmOSVersion()); case 2: return new SnmpString(node.getJvmOSArch()); case 1: return new SnmpString(node.getJvmOSName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 10
Source Project: openjdk-jdk8u Source File: JvmMemManagerEntryMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmMemManagerState()); case 2: return new SnmpString(node.getJvmMemManagerName()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 11
Source Project: openjdk-jdk8u Source File: JvmCompilationMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmJITCompilerTimeMonitoring()); case 2: return new SnmpCounter64(node.getJvmJITCompilerTimeMs()); case 1: return new SnmpString(node.getJvmJITCompilerName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 12
Source Project: openjdk-jdk8u-backup Source File: JvmOSMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 4: return new SnmpInt(node.getJvmOSProcessorCount()); case 3: return new SnmpString(node.getJvmOSVersion()); case 2: return new SnmpString(node.getJvmOSArch()); case 1: return new SnmpString(node.getJvmOSName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 13
Source Project: openjdk-8-source Source File: JvmMemManagerEntryMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmMemManagerState()); case 2: return new SnmpString(node.getJvmMemManagerName()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 14
Source Project: openjdk-jdk8u-backup Source File: JvmMemManagerEntryMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmMemManagerState()); case 2: return new SnmpString(node.getJvmMemManagerName()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 15
Source Project: openjdk-jdk8u-backup Source File: JvmCompilationMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmJITCompilerTimeMonitoring()); case 2: return new SnmpCounter64(node.getJvmJITCompilerTimeMs()); case 1: return new SnmpString(node.getJvmJITCompilerName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 16
Source Project: jdk8u-jdk Source File: JvmCompilationMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmJITCompilerTimeMonitoring()); case 2: return new SnmpCounter64(node.getJvmJITCompilerTimeMs()); case 1: return new SnmpString(node.getJvmJITCompilerName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 17
Source Project: hottub Source File: JvmOSMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 4: return new SnmpInt(node.getJvmOSProcessorCount()); case 3: return new SnmpString(node.getJvmOSVersion()); case 2: return new SnmpString(node.getJvmOSArch()); case 1: return new SnmpString(node.getJvmOSName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 18
Source Project: hottub Source File: JvmMemManagerEntryMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmMemManagerState()); case 2: return new SnmpString(node.getJvmMemManagerName()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 19
Source Project: openjdk-8 Source File: JvmMemManagerEntryMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmMemManagerState()); case 2: return new SnmpString(node.getJvmMemManagerName()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 20
Source Project: openjdk-8 Source File: JvmOSMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 4: return new SnmpInt(node.getJvmOSProcessorCount()); case 3: return new SnmpString(node.getJvmOSVersion()); case 2: return new SnmpString(node.getJvmOSArch()); case 1: return new SnmpString(node.getJvmOSName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 21
Source Project: openjdk-8-source Source File: JvmCompilationMeta.java License: GNU General Public License v2.0 | 6 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpInt(node.getJvmJITCompilerTimeMonitoring()); case 2: return new SnmpCounter64(node.getJvmJITCompilerTimeMs()); case 1: return new SnmpString(node.getJvmJITCompilerName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 22
Source Project: dragonwell8_jdk Source File: JvmRTBootClassPathEntryMeta.java License: GNU General Public License v2.0 | 5 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 2: return new SnmpString(node.getJvmRTBootClassPathItem()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 23
Source Project: openjdk-8 Source File: JvmRTClassPathEntryMeta.java License: GNU General Public License v2.0 | 5 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 2: return new SnmpString(node.getJvmRTClassPathItem()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 24
Source Project: openjdk-8-source Source File: JvmRTLibraryPathEntryMeta.java License: GNU General Public License v2.0 | 5 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 2: return new SnmpString(node.getJvmRTLibraryPathItem()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 25
Source Project: dragonwell8_jdk Source File: JvmRTClassPathEntryMeta.java License: GNU General Public License v2.0 | 5 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 2: return new SnmpString(node.getJvmRTClassPathItem()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 26
Source Project: openjdk-8-source Source File: JvmRTClassPathEntryMeta.java License: GNU General Public License v2.0 | 5 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 2: return new SnmpString(node.getJvmRTClassPathItem()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 27
Source Project: dragonwell8_jdk Source File: JvmRTLibraryPathEntryMeta.java License: GNU General Public License v2.0 | 5 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 2: return new SnmpString(node.getJvmRTLibraryPathItem()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 28
Source Project: TencentKona-8 Source File: JvmRTBootClassPathEntryMeta.java License: GNU General Public License v2.0 | 5 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 2: return new SnmpString(node.getJvmRTBootClassPathItem()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 29
Source Project: TencentKona-8 Source File: JvmMemMgrPoolRelEntryMeta.java License: GNU General Public License v2.0 | 5 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 3: return new SnmpString(node.getJvmMemMgrRelPoolName()); case 2: return new SnmpString(node.getJvmMemMgrRelManagerName()); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }
Example 30
Source Project: openjdk-8 Source File: JvmRTInputArgsEntryMeta.java License: GNU General Public License v2.0 | 5 votes |
/** * Get the value of a scalar variable */ public SnmpValue get(long var, Object data) throws SnmpStatusException { switch((int)var) { case 2: return new SnmpString(node.getJvmRTInputArgsItem()); case 1: throw new SnmpStatusException(SnmpStatusException.noSuchInstance); default: break; } throw new SnmpStatusException(SnmpStatusException.noSuchObject); }