An Exception thrown by the {@link Monitor}ing framework
727728729730731732733734
try { Vector<Object> argList = new Vector<Object>(); argList.add(nodeId); client.execute("resourcemgr.removeNode", argList); }catch (Exception e) { throw new MonitorException(e.getMessage(), e); } }
738739740741742743744745
Vector<Object> argList = new Vector<Object>(); argList.add(nodeId); argList.add(new Integer(capacity)); client.execute("resourcemgr.setNodeCapacity", argList); }catch (Exception e){ throw new MonitorException(e.getMessage(), e); } }
834835836837838839840841
try{ Vector<Object> argList = new Vector<Object>(); argList.add(nodeId); return (String)client.execute("resourcemgr.getNodeLoad", argList); }catch(Exception e){ throw new MonitorException(e.getMessage(), e); } }