static <T> com.google.common.util.concurrent.ListenableFuture<T> |
Throttling.asyncSupplyWithThrottling(ThrottlingKey throttlingKey,
Supplier<com.google.common.util.concurrent.ListenableFuture<T>> result) |
static <T> com.google.common.util.concurrent.ListenableFuture<T> |
Throttling.asyncSupplyWithThrottling(ThrottlingKey throttlingKey,
Supplier<com.google.common.util.concurrent.ListenableFuture<T>> result,
Supplier<T> onThrottledResult) |
static Throttling |
Throttling.of(ThrottlingKey throttlingKey)
获取指定Throttling
|
static <T,X extends Throwable> T |
Throttling.supplyWithThrottling(ThrottlingKey throttlingKey,
ThrowableSupplier<? extends T,X> result) |
static <T,X extends Throwable> T |
Throttling.supplyWithThrottling(ThrottlingKey throttlingKey,
ThrowableSupplier<? extends T,X> result,
Supplier<? extends T> onThrottledResult) |