Class DefaultInvocationGate

    • Method Detail

      • isTooSoon

        public final boolean isTooSoon​(long currentTime)
        Description copied from interface: InvocationGate
        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.
        Specified by:
        isTooSoon in interface InvocationGate
        Parameters:
        currentTime - can be TIME_UNAVAILABLE (-1) to signal that time is not available
        Returns:
        if true, caller should skip further work