- All Implemented Interfaces:
Limiter
Limiter that always returns true. Use this
when limiting traffic is not desired.
-
-
Method Summary
boolean
Determine if the function may proceed.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INSTANCE
public static final Always INSTANCE
-
Method Details
-
obtain
public boolean obtain()
Description copied from interface: Limiter
Determine if the function may proceed.
- Specified by:
obtain
in interface Limiter
- Returns:
- if the function may proceed