threadcontext.java

来自「Contents * Introduction * Installa」· Java 代码 · 共 32 行

JAVA
32
字号
package org.smartlib.pool.core;

/**
 * This class will store the information related to the thread context
 */
public class ThreadContext {

    private String poolName;
    private long createdTimeStamp;

    public ThreadContext() {
        createdTimeStamp = System.currentTimeMillis();
    }

    public long getCreatedTimeStamp() {
        return createdTimeStamp;
    }

    public void setCreatedTimeStamp(long createdTimeStamp) {
        this.createdTimeStamp = createdTimeStamp;
    }

    public String getPoolName() {
        return poolName;
    }

    public void setPoolName(String poolName) {
        this.poolName = poolName;
    }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?