Mercurial > hg > Database > Alice
view src/alice/topology/manager/keeparive/TaskInfo.java @ 322:4b5bf9cf1505
minor change
author | one |
---|---|
date | Tue, 17 Dec 2013 19:46:29 +0900 |
parents | aafc88985822 |
children | 54d0b947079a |
line wrap: on
line source
package alice.topology.manager.keeparive; public class TaskInfo { private TaskType type; private long sleepTime; private String managerKey; private String returnKey; public TaskInfo(TaskType t){ type = t; } public void setInfo(String managerKey, long time){ this.managerKey = managerKey; sleepTime = time; } public void setInfo(String managerKey, String returnKey, long time){ this.managerKey = managerKey; this.returnKey = returnKey; sleepTime = time; } public TaskType getType(){ return type; } public long getSleepTime(){ return sleepTime; } public void setSleepTime(long time){ sleepTime = time; } public String getManagerKey(){ return managerKey; } public String getReturnKey(){ return returnKey; } }