1 package org.smartlib.pool.core; 2 3 6 public class ThreadContext { 7 8 private String poolName; 9 private long createdTimeStamp; 10 11 public ThreadContext() { 12 createdTimeStamp = System.currentTimeMillis(); 13 } 14 15 public long getCreatedTimeStamp() { 16 return createdTimeStamp; 17 } 18 19 public void setCreatedTimeStamp(long createdTimeStamp) { 20 this.createdTimeStamp = createdTimeStamp; 21 } 22 23 public String getPoolName() { 24 return poolName; 25 } 26 27 public void setPoolName(String poolName) { 28 this.poolName = poolName; 29 } 30 31 } 32 | Popular Tags |