net.n2oapp.framework.config.util.ThreadLocalVariables Maven / Gradle / Ivy
package net.n2oapp.framework.config.util;
/**
* User: operhod
* Date: 11.03.14
* Time: 15:13
*/
public class ThreadLocalVariables {
public static final ThreadLocal IS_VALIDATE = new ThreadLocalBoolean();
public static final ThreadLocal IS_PUT_IN_CACHE = new ThreadLocalBoolean();
public static class ThreadLocalBoolean extends ThreadLocal {
@Override
protected Boolean initialValue() {
return true;
}
}
}