1 24 25 package org.objectweb.cjdbc.controller.recoverylog; 26 27 import org.objectweb.cjdbc.controller.loadbalancer.tasks.AbstractTask; 28 29 37 public class RecoveryTask 38 { 39 private long id; 40 private long tid; 41 private AbstractTask task; 42 43 50 public RecoveryTask(long tid, long id, AbstractTask task) 51 { 52 this.id = id; 53 this.tid = tid; 54 this.task = task; 55 } 56 57 62 public long getTid() 63 { 64 return tid; 65 } 66 67 72 public long getId() 73 { 74 return id; 75 } 76 77 82 public AbstractTask getTask() 83 { 84 return task; 85 } 86 87 92 public void setId(long id) 93 { 94 this.id = id; 95 } 96 97 102 public void setTask(AbstractTask task) 103 { 104 this.task = task; 105 } 106 } 107 | Popular Tags |