01: package org.smartlib.pool.core;
02:
03: /**
04: * This class will store the information related to the thread context
05: */
06: public class ThreadContext {
07:
08: private String poolName;
09: 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: }
|