Package com.sun.jmx.snmp

Examples of com.sun.jmx.snmp.SnmpString


     */
    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;
View Full Code Here


            case 2:
                return new SnmpCounter64(node.getJvmJITCompilerTimeMs());

            case 1:
                return new SnmpString(node.getJvmJITCompilerName());

            default:
                break;
        }
        throw new SnmpStatusException(SnmpStatusException.noSuchObject);
View Full Code Here

        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;
View Full Code Here

     */
    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;
View Full Code Here

            case 20: {
                throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
                }

            case 8:
                return new SnmpString(node.getJvmRTManagementSpecVersion());

            case 7:
                return new SnmpString(node.getJvmRTSpecVersion());

            case 6:
                return new SnmpString(node.getJvmRTSpecVendor());

            case 5:
                return new SnmpString(node.getJvmRTSpecName());

            case 4:
                return new SnmpString(node.getJvmRTVMVersion());

            case 3:
                return new SnmpString(node.getJvmRTVMVendor());

            case 12:
                return new SnmpCounter64(node.getJvmRTStartTimeMs());

            case 11:
                return new SnmpCounter64(node.getJvmRTUptimeMs());

            case 2:
                return new SnmpString(node.getJvmRTVMName());

            case 1:
                return new SnmpString(node.getJvmRTName());

            case 10:
                return new SnmpInt(node.getJvmRTInputArgsCount());

            default:
View Full Code Here

     */
    public SnmpValue get(long var, Object data)
        throws SnmpStatusException {
        switch((int)var) {
            case 9:
                return new SnmpString(node.getJvmThreadInstName());

            case 8:
                return new SnmpCounter64(node.getJvmThreadInstCpuTimeNs());

            case 7:
                return new SnmpCounter64(node.getJvmThreadInstWaitTimeMs());

            case 6:
                return new SnmpCounter64(node.getJvmThreadInstWaitCount());

            case 5:
                return new SnmpCounter64(node.getJvmThreadInstBlockTimeMs());

            case 4:
                return new SnmpCounter64(node.getJvmThreadInstBlockCount());

            case 3:
                return new SnmpString(node.getJvmThreadInstState());

            case 11:
                return new SnmpOid(node.getJvmThreadInstLockOwnerPtr());

            case 2:
                return new SnmpCounter64(node.getJvmThreadInstId());

            case 10:
                return new SnmpString(node.getJvmThreadInstLockName());

            case 1:
                throw new SnmpStatusException(SnmpStatusException.noSuchInstance);
            default:
                break;
View Full Code Here

        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);
View Full Code Here

     */
    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);
View Full Code Here

     */
    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;
View Full Code Here

     */
    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;
View Full Code Here

TOP

Related Classes of com.sun.jmx.snmp.SnmpString

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.