Mercurial > hg > Members > tatsuki > Alice
changeset 318:32d033a4b3c7
Refactor
author | sugi |
---|---|
date | Tue, 10 Dec 2013 18:29:30 +0900 |
parents | 1ddaa687f44a |
children | 89dc953fd9e8 |
files | src/alice/topology/manager/keeparive/RespondPing.java src/alice/topology/manager/keeparive/SendPing.java |
diffstat | 2 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alice/topology/manager/keeparive/RespondPing.java Tue Dec 10 17:40:55 2013 +0900 +++ b/src/alice/topology/manager/keeparive/RespondPing.java Tue Dec 10 18:29:30 2013 +0900 @@ -14,8 +14,8 @@ @Override public void run() { RespondData d = respond.asClass(RespondData.class); - System.out.print("Data from "+d.from); - System.out.println(" Data time "+d.time); + System.out.print("ping from "+d.from); + System.out.println(" Recieved time "+d.time); TaskInfo task = new TaskInfo(d.from, "_RESPONCE", 5 * 1000); ods.put("_TASKINFO", task);
--- a/src/alice/topology/manager/keeparive/SendPing.java Tue Dec 10 17:40:55 2013 +0900 +++ b/src/alice/topology/manager/keeparive/SendPing.java Tue Dec 10 18:29:30 2013 +0900 @@ -32,8 +32,6 @@ try { nowTask = list.getTaskList().poll(); ods.update("_WAITINGLIST", list); - System.out.print("managerkey is "+ nowTask.getManagerKey()); - System.out.println(" returnkey is "+ nowTask.getReturnKey()); time = System.currentTimeMillis(); if (nowTask.getSleepTime()!=0) this.wait(nowTask.getSleepTime());