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

org.loguno.processor.configuration.ThreadLocalHolder Maven / Gradle / Ivy

The newest version!
package org.loguno.processor.configuration;

public class ThreadLocalHolder {
    private static final ThreadLocal THREAD = new ThreadLocal<>();

    private ThreadLocalHolder() {
    }

    public static String get() {
        return THREAD.get();
    }

    public static void put(String file) {
        THREAD.set(file);
    }

    public static void cleanupThread() {
        THREAD.remove();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy