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

io.leopard.commons.utility.ThreadLocalClock Maven / Gradle / Ivy

package io.leopard.commons.utility;

public class ThreadLocalClock {

	private static ThreadLocal TIME = new ThreadLocal();

	public static void setTime(long time) {
		TIME.set(time);
	}

	public static long getTime() {
		return TIME.get();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy