| Modifier and Type | Field and Description |
|---|---|
| pack-priv AtomicLong | |
| public static final Duration | |
| pack-priv final Duration |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isTooSoon(long
can be TIME_UNAVAILABLE (-1) to signal that time is not
available currentTime)Implements ch. |
| atomicNext | back to summary |
|---|---|
| pack-priv AtomicLong atomicNext | |
| DEFAULT_INCREMENT | back to summary |
|---|---|
| public static final Duration DEFAULT_INCREMENT | |
| increment | back to summary |
|---|---|
| pack-priv final Duration increment | |
| SimpleInvocationGate | back to summary |
|---|---|
| public SimpleInvocationGate() | |
| SimpleInvocationGate | back to summary |
|---|---|
| public SimpleInvocationGate(Duration anIncrement) | |
| isTooSoon | back to summary |
|---|---|
| public boolean isTooSoon(long currentTime) Implements ch. Doc from ch. 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.
| |