| Package | Description |
|---|---|
| org.apache.ratis.util | |
| org.apache.ratis.util.function |
| Modifier and Type | Method and Description |
|---|---|
static <E,THROWABLE extends Throwable> |
ConcurrentUtils.updateAndGet(AtomicReference<E> reference,
CheckedFunction<E,E,THROWABLE> update)
Similar to
AtomicReference.updateAndGet(java.util.function.UnaryOperator)
except that the update function is checked. |
| Constructor and Description |
|---|
PeerProxyMap(String name,
CheckedFunction<RaftPeer,PROXY,IOException> createProxy) |
| Modifier and Type | Method and Description |
|---|---|
static <INPUT,THROWABLE extends Throwable> |
CheckedConsumer.asCheckedFunction(CheckedConsumer<INPUT,THROWABLE> consumer) |
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.