Mercurial > hg > Database > Alice
changeset 500:a03d0a570963 dispose
comment println debug
author | sugi |
---|---|
date | Mon, 15 Dec 2014 20:20:01 +0900 |
parents | d3442b23e3df |
children | c5072a63b257 |
files | src/main/java/alice/topology/manager/keeparive/RespondPing.java src/main/java/alice/topology/manager/keeparive/StartKeepAlive.java src/main/java/alice/topology/manager/keeparive/TaskExecuter.java |
diffstat | 3 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/alice/topology/manager/keeparive/RespondPing.java Mon Dec 15 20:04:04 2014 +0900 +++ b/src/main/java/alice/topology/manager/keeparive/RespondPing.java Mon Dec 15 20:20:01 2014 +0900 @@ -6,7 +6,7 @@ public class RespondPing extends CodeSegment{ private Receiver respond = ids.create(CommandType.TAKE); - private long pingedTime = System.currentTimeMillis(); +// private long pingedTime = System.currentTimeMillis(); public RespondPing(String key) { respond.setKey(key); @@ -18,8 +18,8 @@ TaskExecuter exec = TaskExecuter.getInstance(); synchronized (exec){ RespondData d = respond.asClass(RespondData.class); - System.out.print("ping from "+d.from); - System.out.println(" Recieved time "+(d.time - pingedTime)); +// System.out.print("ping from "+d.from); +// System.out.println(" Recieved time "+(d.time - pingedTime)); TaskInfo task = new TaskInfo(TaskType.CLOSE); task.setInfo(d.from, null, 0);
--- a/src/main/java/alice/topology/manager/keeparive/StartKeepAlive.java Mon Dec 15 20:04:04 2014 +0900 +++ b/src/main/java/alice/topology/manager/keeparive/StartKeepAlive.java Mon Dec 15 20:20:01 2014 +0900 @@ -9,8 +9,6 @@ ods.put("_WAITINGLIST", new ListManager()); TaskExecuter.getInstance().setKey(); - //new CheckExistTask(); - } }
--- a/src/main/java/alice/topology/manager/keeparive/TaskExecuter.java Mon Dec 15 20:04:04 2014 +0900 +++ b/src/main/java/alice/topology/manager/keeparive/TaskExecuter.java Mon Dec 15 20:20:01 2014 +0900 @@ -34,7 +34,6 @@ ods.update("_WAITINGLIST", list); remainingTime = 0; } else { - list.show(); nowTask = list.getTaskList().poll(); if (nowTask.getType() !=TaskType.PING) ods.update("_WAITINGLIST", list);