/*
* 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 "JvmMemory" group.
* The group is defined with the following oid: 1.3.6.1.4.1.42.2.145.3.163.1.1.2.
*/
implements Serializable, SnmpStandardMetaServer {
/**
* Constructor for the metadata associated to "JvmMemory".
*/
try {
registerObject(120);
registerObject(23);
registerObject(22);
registerObject(21);
registerObject(110);
registerObject(20);
registerObject(13);
registerObject(12);
registerObject(3);
registerObject(11);
registerObject(2);
registerObject(101);
registerObject(10);
registerObject(1);
registerObject(100);
} catch (IllegalAccessException e) {
throw new RuntimeException(e.getMessage());
}
}
/**
* Get the value of a scalar variable
*/
throws SnmpStatusException {
switch((int)var) {
case 120: {
}
case 23:
case 22:
case 21:
case 110: {
}
case 20:
case 13:
case 12:
case 3:
case 11:
case 2:
case 101: {
}
case 10:
case 1:
case 100: {
}
default:
break;
}
}
/**
* Set the value of a scalar variable
*/
throws SnmpStatusException {
switch((int)var) {
case 120: {
}
case 23:
case 22:
case 21:
case 110: {
}
case 20:
case 13:
case 12:
case 3:
if (x instanceof SnmpInt) {
try {
} catch(IllegalArgumentException e) {
}
} else {
}
case 11:
case 2:
if (x instanceof SnmpInt) {
try {
} catch(IllegalArgumentException e) {
}
} else {
}
case 101: {
}
case 10:
case 1:
case 100: {
}
default:
break;
}
}
/**
* Check the value of a scalar variable
*/
throws SnmpStatusException {
switch((int) var) {
case 120: {
}
case 23:
case 22:
case 21:
case 110: {
}
case 20:
case 13:
case 12:
case 3:
if (x instanceof SnmpInt) {
try {
} catch(IllegalArgumentException e) {
}
} else {
}
break;
case 11:
case 2:
if (x instanceof SnmpInt) {
try {
} catch(IllegalArgumentException e) {
}
} else {
}
break;
case 101: {
}
case 10:
case 1:
case 100: {
}
default:
}
}
/**
* Allow to bind the metadata description to a specific object.
*/
}
// ------------------------------------------------------------
//
// Implements the "get" method defined in "SnmpMibGroup".
// See the "SnmpMibGroup" Javadoc API for more details.
//
// ------------------------------------------------------------
throws SnmpStatusException {
}
// ------------------------------------------------------------
//
// Implements the "set" method defined in "SnmpMibGroup".
// See the "SnmpMibGroup" Javadoc API for more details.
//
// ------------------------------------------------------------
throws SnmpStatusException {
}
// ------------------------------------------------------------
//
// Implements the "check" method defined in "SnmpMibGroup".
// See the "SnmpMibGroup" Javadoc API for more details.
//
// ------------------------------------------------------------
throws SnmpStatusException {
}
/**
* Returns true if "arc" identifies a scalar object.
*/
switch((int)arc) {
case 23:
case 22:
case 21:
case 20:
case 13:
case 12:
case 3:
case 11:
case 2:
case 10:
case 1:
return true;
default:
break;
}
return false;
}
/**
* Returns true if "arc" identifies a readable scalar object.
*/
switch((int)arc) {
case 23:
case 22:
case 21:
case 20:
case 13:
case 12:
case 3:
case 11:
case 2:
case 10:
case 1:
return true;
default:
break;
}
return false;
}
// ------------------------------------------------------------
//
// Implements the "skipVariable" method defined in "SnmpMibGroup".
// See the "SnmpMibGroup" Javadoc API for more details.
//
// ------------------------------------------------------------
switch((int)var) {
case 23:
case 22:
case 21:
case 20:
case 13:
case 12:
case 11:
case 10:
break;
default:
break;
}
}
/**
* Return the name of the attribute corresponding to the SNMP variable identified by "id".
*/
throws SnmpStatusException {
switch((int)id) {
case 120: {
}
case 23:
return "JvmMemoryNonHeapMaxSize";
case 22:
return "JvmMemoryNonHeapCommitted";
case 21:
return "JvmMemoryNonHeapUsed";
case 110: {
}
case 20:
return "JvmMemoryNonHeapInitSize";
case 13:
return "JvmMemoryHeapMaxSize";
case 12:
return "JvmMemoryHeapCommitted";
case 3:
return "JvmMemoryGCCall";
case 11:
return "JvmMemoryHeapUsed";
case 2:
return "JvmMemoryGCVerboseLevel";
case 101: {
}
case 10:
return "JvmMemoryHeapInitSize";
case 1:
return "JvmMemoryPendingFinalCount";
case 100: {
}
default:
break;
}
}
/**
* Returns true if "arc" identifies a table object.
*/
switch((int)arc) {
case 120:
return true;
case 110:
return true;
case 101:
return true;
case 100:
return true;
default:
break;
}
return false;
}
/**
* Returns the table object identified by "arc".
*/
switch((int)arc) {
case 120:
return tableJvmMemMgrPoolRelTable;
case 110:
return tableJvmMemPoolTable;
case 101:
return tableJvmMemGCTable;
case 100:
return tableJvmMemManagerTable;
default:
break;
}
return null;
}
/**
* Register the group's SnmpMibTable objects with the meta-data.
*/
tableJvmMemMgrPoolRelTable = createJvmMemMgrPoolRelTableMetaNode("JvmMemMgrPoolRelTable", "JvmMemory", mib, server);
if ( tableJvmMemMgrPoolRelTable != null) {
}
if ( tableJvmMemPoolTable != null) {
}
if ( tableJvmMemGCTable != null) {
}
tableJvmMemManagerTable = createJvmMemManagerTableMetaNode("JvmMemManagerTable", "JvmMemory", mib, server);
if ( tableJvmMemManagerTable != null) {
}
}
/**
* Factory method for "JvmMemMgrPoolRelTable" table metadata class.
*
* You can redefine this method if you need to replace the default
* generated metadata class with your own customized class.
*
* @param tableName Name of the table object ("JvmMemMgrPoolRelTable")
* @param groupName Name of the group to which this table belong ("JvmMemory")
* @param mib The SnmpMib object in which this table is registered
* @param server MBeanServer for this table entries (may be null)
*
* @return An instance of the metadata class generated for the
* "JvmMemMgrPoolRelTable" table (JvmMemMgrPoolRelTableMeta)
*
**/
protected JvmMemMgrPoolRelTableMeta createJvmMemMgrPoolRelTableMetaNode(String tableName, String groupName, SnmpMib mib, MBeanServer server) {
}
/**
* Factory method for "JvmMemPoolTable" table metadata class.
*
* You can redefine this method if you need to replace the default
* generated metadata class with your own customized class.
*
* @param tableName Name of the table object ("JvmMemPoolTable")
* @param groupName Name of the group to which this table belong ("JvmMemory")
* @param mib The SnmpMib object in which this table is registered
* @param server MBeanServer for this table entries (may be null)
*
* @return An instance of the metadata class generated for the
* "JvmMemPoolTable" table (JvmMemPoolTableMeta)
*
**/
protected JvmMemPoolTableMeta createJvmMemPoolTableMetaNode(String tableName, String groupName, SnmpMib mib, MBeanServer server) {
}
/**
* Factory method for "JvmMemGCTable" table metadata class.
*
* You can redefine this method if you need to replace the default
* generated metadata class with your own customized class.
*
* @param tableName Name of the table object ("JvmMemGCTable")
* @param groupName Name of the group to which this table belong ("JvmMemory")
* @param mib The SnmpMib object in which this table is registered
* @param server MBeanServer for this table entries (may be null)
*
* @return An instance of the metadata class generated for the
* "JvmMemGCTable" table (JvmMemGCTableMeta)
*
**/
protected JvmMemGCTableMeta createJvmMemGCTableMetaNode(String tableName, String groupName, SnmpMib mib, MBeanServer server) {
}
/**
* Factory method for "JvmMemManagerTable" table metadata class.
*
* You can redefine this method if you need to replace the default
* generated metadata class with your own customized class.
*
* @param tableName Name of the table object ("JvmMemManagerTable")
* @param groupName Name of the group to which this table belong ("JvmMemory")
* @param mib The SnmpMib object in which this table is registered
* @param server MBeanServer for this table entries (may be null)
*
* @return An instance of the metadata class generated for the
* "JvmMemManagerTable" table (JvmMemManagerTableMeta)
*
**/
protected JvmMemManagerTableMeta createJvmMemManagerTableMetaNode(String tableName, String groupName, SnmpMib mib, MBeanServer server) {
}
}