- All Implemented Interfaces:
This class serves as a gateway for invocations of a "costly" operation on a critical execution path.
- Ceki Gülcü
isTooSoonpublic final boolean isTooSoon
(long currentTime)Description copied from interface:
InvocationGateThe 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.
getInvocationCounterpublic long getInvocationCounter()