/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
//
// Generated by mibgen version 5.0 (06/02/03) when compiling JVM-MANAGEMENT-MIB in standard metadata mode.
//
// java imports
//
// jmx imports
//
// jdmk imports
//
/**
* The class is used for representing SNMP metadata for the "JvmMemPoolEntry" group.
* The group is defined with the following oid: 1.3.6.1.4.1.42.2.145.3.163.1.1.2.110.1.
*/
implements Serializable, SnmpStandardMetaServer {
/**
* Constructor for the metadata associated to "JvmMemPoolEntry".
*/
varList = new int[20];
}
/**
* Get the value of a scalar variable
*/
throws SnmpStatusException {
switch((int)var) {
case 33:
case 32:
case 31:
case 133:
case 132:
case 131:
case 13:
case 12:
case 11:
case 10:
case 112:
case 111:
case 110:
case 5:
case 4:
case 3:
case 2:
case 23:
case 1:
case 22:
case 21:
default:
break;
}
}
/**
* Set the value of a scalar variable
*/
throws SnmpStatusException {
switch((int)var) {
case 33:
case 32:
case 31:
case 133:
case 132:
case 131:
if (x instanceof SnmpCounter64) {
} else {
}
case 13:
case 12:
case 11:
case 10:
case 112:
case 111:
case 110:
if (x instanceof SnmpCounter64) {
} else {
}
case 5:
if (x instanceof SnmpCounter64) {
} else {
}
case 4:
case 3:
case 2:
case 23:
case 1:
case 22:
case 21:
default:
break;
}
}
/**
* Check the value of a scalar variable
*/
throws SnmpStatusException {
switch((int) var) {
case 33:
case 32:
case 31:
case 133:
case 132:
case 131:
if (x instanceof SnmpCounter64) {
} else {
}
break;
case 13:
case 12:
case 11:
case 10:
case 112:
case 111:
case 110:
if (x instanceof SnmpCounter64) {
} else {
}
break;
case 5:
if (x instanceof SnmpCounter64) {
} else {
}
break;
case 4:
case 3:
case 2:
case 23:
case 1:
case 22:
case 21:
default:
}
}
/**
* Allow to bind the metadata description to a specific object.
*/
}
// ------------------------------------------------------------
//
// Implements the "get" method defined in "SnmpMibEntry".
// See the "SnmpMibEntry" Javadoc API for more details.
//
// ------------------------------------------------------------
throws SnmpStatusException {
}
// ------------------------------------------------------------
//
// Implements the "set" method defined in "SnmpMibEntry".
// See the "SnmpMibEntry" Javadoc API for more details.
//
// ------------------------------------------------------------
throws SnmpStatusException {
}
// ------------------------------------------------------------
//
// Implements the "check" method defined in "SnmpMibEntry".
// See the "SnmpMibEntry" Javadoc API for more details.
//
// ------------------------------------------------------------
throws SnmpStatusException {
}
/**
* Returns true if "arc" identifies a scalar object.
*/
switch((int)arc) {
case 33:
case 32:
case 31:
case 133:
case 132:
case 131:
case 13:
case 12:
case 11:
case 10:
case 112:
case 111:
case 110:
case 5:
case 4:
case 3:
case 2:
case 23:
case 1:
case 22:
case 21:
return true;
default:
break;
}
return false;
}
/**
* Returns true if "arc" identifies a readable scalar object.
*/
switch((int)arc) {
case 33:
case 32:
case 31:
case 133:
case 132:
case 131:
case 13:
case 12:
case 11:
case 10:
case 112:
case 111:
case 110:
case 5:
case 4:
case 3:
case 2:
case 23:
case 22:
case 21:
return true;
default:
break;
}
return false;
}
// ------------------------------------------------------------
//
// Implements the "skipVariable" method defined in "SnmpMibEntry".
// See the "SnmpMibEntry" Javadoc API for more details.
//
// ------------------------------------------------------------
switch((int)var) {
case 33:
case 32:
case 31:
case 132:
case 131:
case 13:
case 12:
case 11:
case 10:
case 111:
case 110:
case 5:
case 23:
break;
case 1:
return true;
case 22:
case 21:
break;
default:
break;
}
}
/**
* Return the name of the attribute corresponding to the SNMP variable identified by "id".
*/
throws SnmpStatusException {
switch((int)id) {
case 33:
return "JvmMemPoolCollectMaxSize";
case 32:
return "JvmMemPoolCollectCommitted";
case 31:
return "JvmMemPoolCollectUsed";
case 133:
return "JvmMemPoolCollectThreshdSupport";
case 132:
return "JvmMemPoolCollectThreshdCount";
case 131:
return "JvmMemPoolCollectThreshold";
case 13:
return "JvmMemPoolMaxSize";
case 12:
return "JvmMemPoolCommitted";
case 11:
return "JvmMemPoolUsed";
case 10:
return "JvmMemPoolInitSize";
case 112:
return "JvmMemPoolThreshdSupport";
case 111:
return "JvmMemPoolThreshdCount";
case 110:
return "JvmMemPoolThreshold";
case 5:
return "JvmMemPoolPeakReset";
case 4:
return "JvmMemPoolState";
case 3:
return "JvmMemPoolType";
case 2:
return "JvmMemPoolName";
case 23:
return "JvmMemPoolPeakMaxSize";
case 1:
return "JvmMemPoolIndex";
case 22:
return "JvmMemPoolPeakCommitted";
case 21:
return "JvmMemPoolPeakUsed";
default:
break;
}
}
}