public class DefaultInvocationGate extends java.lang.Object implements InvocationGate
TIME_UNAVAILABLE| Constructor and Description |
|---|
DefaultInvocationGate() |
DefaultInvocationGate(long minDelayThreshold,
long maxDelayThreshold,
long currentTime) |
| Modifier and Type | Method and Description |
|---|---|
long |
getInvocationCounter() |
boolean |
isTooSoon(long currentTime)
The caller of this method can decide to skip further work if the returned value is true.
|
public DefaultInvocationGate()
public DefaultInvocationGate(long minDelayThreshold,
long maxDelayThreshold,
long currentTime)
public final boolean isTooSoon(long currentTime)
InvocationGateisTooSoon in interface InvocationGatepublic long getInvocationCounter()
Copyright © 2010 - 2023 Adobe. All Rights Reserved