public static enum EventRateLimiter.UpdateStrategy extends Enum<EventRateLimiter.UpdateStrategy>
INSTANTANEOUS_RATE notify if the time w.r.t. the last UpdateEvent is larger than time threshold
AVERAGE_RATE notify if the average UpdateEvent rate is smaller than frequency threshold
| Enum Constant and Description |
|---|
AVERAGE_RATE |
INSTANTANEOUS_RATE |
| Modifier and Type | Method and Description |
|---|---|
static EventRateLimiter.UpdateStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventRateLimiter.UpdateStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventRateLimiter.UpdateStrategy INSTANTANEOUS_RATE
public static final EventRateLimiter.UpdateStrategy AVERAGE_RATE
public static EventRateLimiter.UpdateStrategy[] values()
for (EventRateLimiter.UpdateStrategy c : EventRateLimiter.UpdateStrategy.values()) System.out.println(c);
public static EventRateLimiter.UpdateStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.