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

com.yscope.logging.log4j2.SystemTimeSource Maven / Gradle / Ivy

package com.yscope.logging.log4j2;

/** Time source for the system's current time. */
public class SystemTimeSource implements TimeSource {
    @Override
    public void setCurrentTimeInMilliseconds(long currentTimeInMilliseconds) {
        throw new UnsupportedOperationException();
    }

    @Override
    public long getCurrentTimeInMilliseconds() { return System.currentTimeMillis(); }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy