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

ch.qos.logback.core.util.InvocationGate Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version
package ch.qos.logback.core.util;

// @deprecated This internal logback API is not supported by AEM as a Cloud Service.
@Deprecated(since = "2022-01-27")
public interface InvocationGate {

    final long TIME_UNAVAILABLE = -1;

    /**
     * The caller of this method can decide to skip further work if the returned value is true.
     *
     * Implementations should be able to give a reasonable answer even if  current time date is unavailable.
     *
     * @param now can be TIME_UNAVAILABLE (-1) to signal that time is not available
     * @return if true, caller should skip further work
     */
    public abstract boolean isTooSoon(long currentTime);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy