public class DLedgerClientRpcNettyService extends DLedgerClientRpcService
| 构造器和说明 |
|---|
DLedgerClientRpcNettyService() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.concurrent.CompletableFuture<AppendEntryResponse> |
append(AppendEntryRequest request) |
java.util.concurrent.CompletableFuture<GetEntriesResponse> |
get(GetEntriesRequest request) |
java.util.concurrent.CompletableFuture<MetadataResponse> |
metadata(MetadataRequest request) |
void |
shutdown() |
void |
startup() |
getPeerAddr, updatePeers, updatePeerspublic java.util.concurrent.CompletableFuture<AppendEntryResponse> append(AppendEntryRequest request) throws java.lang.Exception
java.lang.Exceptionpublic java.util.concurrent.CompletableFuture<MetadataResponse> metadata(MetadataRequest request) throws java.lang.Exception
java.lang.Exceptionpublic java.util.concurrent.CompletableFuture<GetEntriesResponse> get(GetEntriesRequest request) throws java.lang.Exception
java.lang.Exceptionpublic void startup()
startup 在类中 DLedgerClientRpcServicepublic void shutdown()
shutdown 在类中 DLedgerClientRpcServiceCopyright © 2019. All Rights Reserved.