delete that stupid 'interactive' mode where we dump things to stdout on command
(hello, we have an admin console now, duh) formatting touchups.
This commit is contained in:
@ -371,22 +371,6 @@ public class Router {
|
||||
|
||||
public static void main(String args[]) {
|
||||
Router.getInstance().runRouter();
|
||||
if (args.length > 0) {
|
||||
_log.info("Not interactive");
|
||||
} else {
|
||||
_log.info("Interactive");
|
||||
try {
|
||||
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
|
||||
String line = null;
|
||||
while ( (line = in.readLine()) != null) {
|
||||
ClientMessagePool.getInstance().dumpPoolInfo();
|
||||
OutNetMessagePool.getInstance().dumpPoolInfo();
|
||||
InNetMessagePool.getInstance().dumpPoolInfo();
|
||||
}
|
||||
} catch (IOException ioe) {
|
||||
_log.error("Error dumping queue", ioe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private class ShutdownHook extends Thread {
|
||||
|
Reference in New Issue
Block a user