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)
InvocationGate
isTooSoon
in interface InvocationGate
public long getInvocationCounter()
Copyright © 2010 - 2020 Adobe. All Rights Reserved