| 程序包 | 说明 |
|---|---|
| com.alibaba.nacos.consistency | |
| com.alibaba.nacos.consistency.entity |
| 限定符和类型 | 方法和说明 |
|---|---|
Response |
ConsistencyProtocol.getData(ReadRequest request)
Obtain data according to the request.
|
abstract Response |
RequestProcessor.onApply(WriteRequest log)
Process Submitted Log.
|
abstract Response |
RequestProcessor.onRequest(ReadRequest request)
get data by key.
|
Response |
ConsistencyProtocol.write(WriteRequest request)
Data operation, returning submission results synchronously.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.concurrent.CompletableFuture<Response> |
ConsistencyProtocol.aGetData(ReadRequest request)
Get data asynchronously.
|
java.util.concurrent.CompletableFuture<Response> |
ConsistencyProtocol.writeAsync(WriteRequest request)
Data submission operation, returning submission results asynchronously.
|
| 限定符和类型 | 字段和说明 |
|---|---|
private static Response |
Response.DEFAULT_INSTANCE |
| 限定符和类型 | 字段和说明 |
|---|---|
private static com.google.protobuf.Parser<Response> |
Response.PARSER |
| 限定符和类型 | 方法和说明 |
|---|---|
Response |
Response.Builder.build() |
Response |
Response.Builder.buildPartial() |
static Response |
Response.getDefaultInstance() |
Response |
Response.getDefaultInstanceForType() |
Response |
Response.Builder.getDefaultInstanceForType() |
static Response |
Response.parseDelimitedFrom(java.io.InputStream input) |
static Response |
Response.parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Response |
Response.parseFrom(byte[] data) |
static Response |
Response.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Response |
Response.parseFrom(java.nio.ByteBuffer data) |
static Response |
Response.parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Response |
Response.parseFrom(com.google.protobuf.ByteString data) |
static Response |
Response.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Response |
Response.parseFrom(com.google.protobuf.CodedInputStream input) |
static Response |
Response.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Response |
Response.parseFrom(java.io.InputStream input) |
static Response |
Response.parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.protobuf.Parser<Response> |
Response.getParserForType() |
static com.google.protobuf.Parser<Response> |
Response.parser() |
| 限定符和类型 | 方法和说明 |
|---|---|
Response.Builder |
Response.Builder.mergeFrom(Response other) |
static Response.Builder |
Response.newBuilder(Response prototype) |
Copyright © 2018–2021 Alibaba Group. All rights reserved.