public void checkJvmThreadContentionMonitoring(EnumJvmThreadContentionMonitoring x) throws SnmpStatusException {
  if (JvmThreadContentionMonitoringUnsupported.intValue() == x.intValue()) {
    log.debug("checkJvmThreadContentionMonitoring","Try to set to illegal unsupported value");
    throw new SnmpStatusException(SnmpDefinitions.snmpRspWrongValue);
  }
  if ((JvmThreadContentionMonitoringEnabled.intValue() == x.intValue()) || (JvmThreadContentionMonitoringDisabled.intValue() == x.intValue())) {
    ThreadMXBean mbean=getThreadMXBean();
    if (mbean.isThreadContentionMonitoringSupported())     return;
    log.debug("checkJvmThreadContentionMonitoring","Unsupported operation, can't set state");
    throw new SnmpStatusException(SnmpDefinitions.snmpRspInconsistentValue);
  }
  log.debug("checkJvmThreadContentionMonitoring","Try to set to unknown value");
  throw new SnmpStatusException(SnmpDefinitions.snmpRspWrongValue);
}

public void checkJvmThreadContentionMonitoring ( EnumJvmThreadContentionMonitoring x ) throws SnmpStatusException { if ( JvmThreadContentionMonitoringUnsupported . intValue ( ) == x . intValue ( ) ) { log . debug ( "checkJvmThreadContentionMonitoring" , "Try to set to illegal unsupported value" ) ; throw new SnmpStatusException ( SnmpDefinitions . snmpRspWrongValue ) ; } if ( ( JvmThreadContentionMonitoringEnabled . intValue ( ) == x . intValue ( ) ) || ( JvmThreadContentionMonitoringDisabled . intValue ( ) == x . intValue ( ) ) ) { ThreadMXBean mbean = getThreadMXBean ( ) ; if ( mbean . isThreadContentionMonitoringSupported ( ) ) return ; log . debug ( "checkJvmThreadContentionMonitoring" , "Unsupported operation, can't set state" ) ; throw new SnmpStatusException ( SnmpDefinitions . snmpRspInconsistentValue ) ; } log . debug ( "checkJvmThreadContentionMonitoring" , "Try to set to unknown value" ) ; throw new SnmpStatusException ( SnmpDefinitions . snmpRspWrongValue ) ; }
checker for the " jvmthreadcontentionmonitoring " variable .
