public class AggregateUtils extends Object
| 限定符和类型 | 类和说明 |
|---|---|
(专用程序包) static class |
AggregateUtils.TimeoutThreadFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private static ScheduledThreadPoolExecutor |
SCHEDULER |
| 限定符 | 构造器和说明 |
|---|---|
private |
AggregateUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> @NotNull CompletableFuture<T> |
failIn(long timeout,
TimeUnit unit) |
static <I,V> I |
process(@NotNull Context context,
@NotNull DistributeMergeableNode<I,V> node) |
static <V> V |
process(@NotNull Context context,
@NotNull GenericMergeableNode<V> node) |
static <V> V |
process(Processor<V> processor,
Context context,
Set<Key<?>> readableKeys,
Set<Key<?>> writableKeys,
KeyMapper keyMapper) |
static @NotNull CompletableFuture<Void> |
within(@NotNull CompletableFuture<?> future,
long timeout,
@NotNull TimeUnit unit) |
private static final org.slf4j.Logger LOGGER
private static final ScheduledThreadPoolExecutor SCHEDULER
@Nullable
public static <V> V process(@NotNull
@NotNull Context context,
@NotNull
@NotNull GenericMergeableNode<V> node)
@Nullable
public static <I,V> I process(@NotNull
@NotNull Context context,
@NotNull
@NotNull DistributeMergeableNode<I,V> node)
@Nullable public static <V> V process(Processor<V> processor, Context context, Set<Key<?>> readableKeys, Set<Key<?>> writableKeys, KeyMapper keyMapper)
@NotNull public static @NotNull CompletableFuture<Void> within(@NotNull @NotNull CompletableFuture<?> future, long timeout, @NotNull @NotNull TimeUnit unit)
@NotNull public static <T> @NotNull CompletableFuture<T> failIn(long timeout, TimeUnit unit)
Copyright © 2021. All rights reserved.