/** * Returns the table object identified by "arc". */ public SnmpMibTable getTable(long arc) { switch((int)arc) { case 23: return tableJvmRTLibraryPathTable; case 22: return tableJvmRTClassPathTable; case 21: return tableJvmRTBootClassPathTable; case 20: return tableJvmRTInputArgsTable; default: break; } return null; }
/** * Returns the table object identified by "arc". */ public SnmpMibTable getTable(long arc) { switch((int)arc) { case 120: return tableJvmMemMgrPoolRelTable; case 110: return tableJvmMemPoolTable; case 101: return tableJvmMemGCTable; case 100: return tableJvmMemManagerTable; default: break; } return null; }
/** * Returns the table object identified by "arc". */ public SnmpMibTable getTable(long arc) { switch((int)arc) { case 10: return tableJvmThreadInstanceTable; default: break; } return null; }
/** * WARNING: This should probably be moved to JvmMemPoolTableMetaImpl **/ private SnmpTableHandler getJvmMemPoolTableHandler(Object userData) { final SnmpMibTable meta = getRegisteredTableMeta("JvmMemPoolTable"); if (! (meta instanceof JvmMemPoolTableMetaImpl)) { final String err = ((meta==null)?"No metadata for JvmMemPoolTable": "Bad metadata class for JvmMemPoolTable: " + meta.getClass().getName()); log.error("getJvmMemPoolTableHandler", err); return null; } final JvmMemPoolTableMetaImpl memPoolTable = (JvmMemPoolTableMetaImpl) meta; return memPoolTable.getHandler(userData); }