| 程序包 | 说明 |
|---|---|
| org.apache.ratis.server | |
| org.apache.ratis.statemachine |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<StateMachine.DataStream> |
DataStreamMap.computeIfAbsent(ClientInvocationId invocationId,
Function<ClientInvocationId,CompletableFuture<StateMachine.DataStream>> newDataStream)
Similar to
Map.computeIfAbsent(Object, Function). |
CompletableFuture<StateMachine.DataStream> |
DataStreamMap.remove(ClientInvocationId invocationId)
Similar to {@link java.util.Map#remove(java.lang.Object).
|
| 限定符和类型 | 方法和说明 |
|---|---|
CompletableFuture<StateMachine.DataStream> |
DataStreamMap.computeIfAbsent(ClientInvocationId invocationId,
Function<ClientInvocationId,CompletableFuture<StateMachine.DataStream>> newDataStream)
Similar to
Map.computeIfAbsent(Object, Function). |
| 限定符和类型 | 方法和说明 |
|---|---|
default CompletableFuture<StateMachine.DataStream> |
StateMachine.DataApi.stream(RaftClientRequest request)
Create asynchronously a
StateMachine.DataStream to stream state machine data. |
| 限定符和类型 | 方法和说明 |
|---|---|
default CompletableFuture<?> |
StateMachine.DataApi.link(StateMachine.DataStream stream,
org.apache.ratis.proto.RaftProtos.LogEntryProto entry)
Link asynchronously the given stream with the given log entry.
|
Copyright © 2017–2025 The Apache Software Foundation. All rights reserved.