Package ch.qos.logback.core.util
Interface InvocationGate
-
- All Known Implementing Classes:
DefaultInvocationGate
@Deprecated(since="2022-01-27") public interface InvocationGate
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static long
TIME_UNAVAILABLE
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
isTooSoon(long currentTime)
Deprecated.The caller of this method can decide to skip further work if the returned value is true.
-
-
-
Field Detail
-
TIME_UNAVAILABLE
static final long TIME_UNAVAILABLE
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
isTooSoon
boolean isTooSoon(long currentTime)
Deprecated.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.- Parameters:
now
- can be TIME_UNAVAILABLE (-1) to signal that time is not available- Returns:
- if true, caller should skip further work
-
-