- All Known Implementing Classes:
DefaultInvocationGate
,SimpleInvocationGate
public interface InvocationGate
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isTooSoon
(long currentTime) The caller of this method can decide to skip further work if the returned value is true.
-
Field Details
-
TIME_UNAVAILABLE
- See Also:
-
-
Method Details
-
isTooSoon
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:
currentTime
- can be TIME_UNAVAILABLE (-1) to signal that time is not available- Returns:
- if true, caller should skip further work
-