@RequestHandler(RequestCmd.OBJECT_RESET_CACHE) public Pack getAgentCacheReseto(Pack param) { DataProxy.reset(); return param; }
if (mapAn == null) continue; String key = mapAn.value(); Invocation news = new Invocation(c.newInstance(), m[i], m[i].getParameterTypes()); Invocation olds = handlers.get(key);
@RequestHandler(PSTACK_ON) public Pack turnOn(Pack param) { MapPack p = (MapPack) param; long time = p.getLong("time"); if (time <= 0) { MakeStack.pstack_requested = 0; } else { MakeStack.pstack_requested = System.currentTimeMillis() + time; } return param; } public static void main(String[] args) throws IOException {
if (mapAn == null) continue; String key = mapAn.value(); Invocation news = new Invocation(c.newInstance(), m[i], m[i].getParameterTypes()); Invocation olds = handlers.get(key);
@RequestHandler(PSTACK_ON) public Pack turnOn(Pack param) { MapPack p = (MapPack) param; long time = p.getLong("time"); if (time <= 0) { MakeStack.pstack_requested = 0; } else { MakeStack.pstack_requested = System.currentTimeMillis() + time; } return param; } public static void main(String[] args) throws IOException {
if (mapAn == null) continue; String key = mapAn.value(); Invocation news = new Invocation(c.newInstance(), m[i], m[i].getParameterTypes()); Invocation olds = handlers.get(key);
@RequestHandler(OBJECT_THREAD_DUMP) public Pack threadDump(Pack param) { try { return ToolsMainFactory.threadDump(param); } catch (Throwable e) { e.printStackTrace(); } return null; } @RequestHandler(TRIGGER_ACTIVE_SERVICE_LIST)
if (mapAn == null) continue; String key = mapAn.value(); Invocation news = new Invocation(c.newInstance(), m[i], m[i].getParameterTypes()); Invocation olds = handlers.get(key);
@RequestHandler(OBJECT_THREAD_DUMP) public Pack threadDump(Pack param) { try { return ToolsMainFactory.threadDump(param); } catch (Throwable e) { e.printStackTrace(); } return null; } @RequestHandler(TRIGGER_ACTIVE_SERVICE_LIST)
@RequestHandler(RequestCmd.OBJECT_RESET_CACHE) public Pack getAgentCacheReseto(Pack param) { DataProxy.reset(); return param; }
@RequestHandler(RequestCmd.OBJECT_HEAPHISTO) public Pack heaphisto(Pack param) { try { return ToolsMainFactory.heaphisto(param); } catch (Throwable e) { e.printStackTrace(); } return null; }
@RequestHandler(RequestCmd.OBJECT_HEAPHISTO) public Pack heaphisto(Pack param) { try { return ToolsMainFactory.heaphisto(param); } catch (Throwable e) { e.printStackTrace(); } return null; }
@RequestHandler(TRIGGER_ACTIVE_SERVICE_LIST) public Pack triggerActiveServiceList(Pack param) { return DumpUtil.triggerActiveService(); }
@RequestHandler(TRIGGER_ACTIVE_SERVICE_LIST) public Pack triggerActiveServiceList(Pack param) { return DumpUtil.triggerActiveService(); }
@RequestHandler(TRIGGER_THREAD_LIST) public Pack triggerThreadList(Pack param) { return DumpUtil.triggerThreadList(); }
@RequestHandler(RequestCmd.TRIGGER_HEAPHISTO) public Pack tirgger_heaphisto(Pack param) { return DumpUtil.triggerHeapHisto(); }
@RequestHandler(TRIGGER_THREAD_LIST) public Pack triggerThreadList(Pack param) { return DumpUtil.triggerThreadList(); }
@RequestHandler(RequestCmd.TRIGGER_HEAPHISTO) public Pack tirgger_heaphisto(Pack param) { return DumpUtil.triggerHeapHisto(); }
@RequestHandler(TRIGGER_THREAD_DUMP) public Pack triggerThreadDump(Pack param) { return DumpUtil.triggerThreadDump(); }
@RequestHandler(TRIGGER_THREAD_DUMP) public Pack triggerThreadDump(Pack param) { return DumpUtil.triggerThreadDump(); }