public class DefaultInvocationGate extends 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 © 2005–2021 QOS.ch. All rights reserved.