public void checkJvmThreadCpuTimeMonitoring(EnumJvmThreadCpuTimeMonitoring x) throws SnmpStatusException {
  if (JvmThreadCpuTimeMonitoringUnsupported.intValue() == x.intValue()) {
    log.debug("checkJvmThreadCpuTimeMonitoring","Try to set to illegal unsupported value");
    throw new SnmpStatusException(SnmpDefinitions.snmpRspWrongValue);
  }
  if ((JvmThreadCpuTimeMonitoringEnabled.intValue() == x.intValue()) || (JvmThreadCpuTimeMonitoringDisabled.intValue() == x.intValue())) {
    ThreadMXBean mbean=getThreadMXBean();
    if (mbean.isThreadCpuTimeSupported())     return;
    log.debug("checkJvmThreadCpuTimeMonitoring","Unsupported operation, can't set state");
    throw new SnmpStatusException(SnmpDefinitions.snmpRspInconsistentValue);
  }
  log.debug("checkJvmThreadCpuTimeMonitoring","unknown enum value ");
  throw new SnmpStatusException(SnmpDefinitions.snmpRspWrongValue);
}

public void checkJvmThreadCpuTimeMonitoring ( EnumJvmThreadCpuTimeMonitoring x ) throws SnmpStatusException { if ( JvmThreadCpuTimeMonitoringUnsupported . intValue ( ) == x . intValue ( ) ) { log . debug ( "checkJvmThreadCpuTimeMonitoring" , "Try to set to illegal unsupported value" ) ; throw new SnmpStatusException ( SnmpDefinitions . snmpRspWrongValue ) ; } if ( ( JvmThreadCpuTimeMonitoringEnabled . intValue ( ) == x . intValue ( ) ) || ( JvmThreadCpuTimeMonitoringDisabled . intValue ( ) == x . intValue ( ) ) ) { ThreadMXBean mbean = getThreadMXBean ( ) ; if ( mbean . isThreadCpuTimeSupported ( ) ) return ; log . debug ( "checkJvmThreadCpuTimeMonitoring" , "Unsupported operation, can't set state" ) ; throw new SnmpStatusException ( SnmpDefinitions . snmpRspInconsistentValue ) ; } log . debug ( "checkJvmThreadCpuTimeMonitoring" , "unknown enum value " ) ; throw new SnmpStatusException ( SnmpDefinitions . snmpRspWrongValue ) ; }
checker for the " jvmthreadcputimemonitoring " variable .
