public class Throttler<T> extends AbstractCoalition<T>
Coalition.Callback<T>callback, interval, scheduledExecutorService| 构造器和说明 |
|---|
Throttler(Coalition.Callback<T> c,
int interval) |
Throttler(Coalition.Callback<T> c,
int interval,
boolean asyncAlways) |
Throttler(Coalition.Callback<T> c,
int interval,
boolean asyncAlways,
ScheduledExecutorService scheduledExecutorService) |
Throttler(Coalition.Callback<T> c,
int interval,
ScheduledExecutorService scheduledExecutorService) |
public Throttler(Coalition.Callback<T> c, int interval, boolean asyncAlways)
public Throttler(Coalition.Callback<T> c, int interval, boolean asyncAlways, ScheduledExecutorService scheduledExecutorService)
public Throttler(Coalition.Callback<T> c, int interval, ScheduledExecutorService scheduledExecutorService)
public Throttler(Coalition.Callback<T> c, int interval)
public void call(T key)
Copyright © 2020. All rights reserved.