All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.n2oapp.framework.config.util.ThreadLocalVariables Maven / Gradle / Ivy

There is a newer version: 7.28.2
Show newest version
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;
        }
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy