| 程序包 | 说明 |
|---|---|
| io.openmessaging.storage.dledger | |
| io.openmessaging.storage.dledger.client | |
| io.openmessaging.storage.dledger.protocol |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.concurrent.CompletableFuture<AppendEntryResponse> |
DLedgerRpcNettyService.append(AppendEntryRequest request) |
java.util.concurrent.CompletableFuture<AppendEntryResponse> |
DLedgerServer.handleAppend(AppendEntryRequest request)
Handle the append requests:
1.append the entry to local store
2.submit the future to entry pusher and wait the quorum ack
3.if the pending requests are full, then reject it immediately
|
java.util.concurrent.CompletableFuture<AppendEntryResponse> |
DLedgerRpcNettyService.handleAppend(AppendEntryRequest request) |
java.util.concurrent.CompletableFuture<AppendEntryResponse> |
DLedgerEntryPusher.waitAck(DLedgerEntry entry) |
| 限定符和类型 | 方法和说明 |
|---|---|
AppendEntryResponse |
DLedgerClient.append(byte[] body) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.concurrent.CompletableFuture<AppendEntryResponse> |
DLedgerClientRpcNettyService.append(AppendEntryRequest request) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.concurrent.CompletableFuture<AppendEntryResponse> |
DLedgerClientProtocol.append(AppendEntryRequest request) |
java.util.concurrent.CompletableFuture<AppendEntryResponse> |
DLedgerClientProtocolHandler.handleAppend(AppendEntryRequest request) |
Copyright © 2019. All Rights Reserved.