io.virtdata.threadstate.ThreadLocalState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
package io.virtdata.threadstate;
import java.util.HashMap;
/**
* This provides common thread local instancing for sharing a thread local map across classes.
*/
public class ThreadLocalState {
public static ThreadLocal> tl_ObjectMap = ThreadLocal.withInitial(HashMap::new);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy