com.zusmart.base.thread.FastThread Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zusmart-base Show documentation
Show all versions of zusmart-base Show documentation
提供基础的工具类及方法类,Logging,Scanner,Buffer,NetWork,Future,Thread
package com.zusmart.base.thread;
public class FastThread extends Thread {
private final FastThreadLocal threadLocal = new FastThreadLocal();
public FastThread(Runnable target, String name) {
this(null, target, name);
}
public FastThread(ThreadGroup group, Runnable target, String name) {
this(group, target, name, 0);
}
public FastThread(ThreadGroup group, Runnable target, String name, long stackSize) {
super(group, target, name, stackSize);
}
public FastThreadLocal getThreadLocal() {
return threadLocal;
}
}