| Package | Description |
|---|---|
| com.alipay.sofa.jraft.core | |
| com.alipay.sofa.jraft.entity | |
| com.alipay.sofa.jraft.rpc | |
| com.alipay.sofa.jraft.rpc.impl.core |
| Modifier and Type | Method and Description |
|---|---|
void |
NodeImpl.handleReadIndexRequest(RpcRequests.ReadIndexRequest request,
RpcResponseClosure<RpcRequests.ReadIndexResponse> done)
Handle read index request.
|
| Modifier and Type | Method and Description |
|---|---|
RpcRequests.ReadIndexRequest |
ReadIndexStatus.getRequest() |
| Constructor and Description |
|---|
ReadIndexStatus(List<ReadIndexState> states,
RpcRequests.ReadIndexRequest request,
long index) |
| Modifier and Type | Field and Description |
|---|---|
static com.google.protobuf.Parser<RpcRequests.ReadIndexRequest> |
RpcRequests.ReadIndexRequest.PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.Builder.build() |
RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.Builder.buildPartial() |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.getDefaultInstance() |
RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.getDefaultInstanceForType() |
RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.Builder.getDefaultInstanceForType() |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseDelimitedFrom(InputStream input) |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseFrom(byte[] data) |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseFrom(ByteBuffer data) |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseFrom(com.google.protobuf.ByteString data) |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseFrom(com.google.protobuf.CodedInputStream input) |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseFrom(InputStream input) |
static RpcRequests.ReadIndexRequest |
RpcRequests.ReadIndexRequest.parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Parser<RpcRequests.ReadIndexRequest> |
RpcRequests.ReadIndexRequest.getParserForType() |
static com.google.protobuf.Parser<RpcRequests.ReadIndexRequest> |
RpcRequests.ReadIndexRequest.parser() |
| Modifier and Type | Method and Description |
|---|---|
void |
RaftServerService.handleReadIndexRequest(RpcRequests.ReadIndexRequest request,
RpcResponseClosure<RpcRequests.ReadIndexResponse> done)
Handle read-index request, call the RPC closure with response.
|
RpcRequests.ReadIndexRequest.Builder |
RpcRequests.ReadIndexRequest.Builder.mergeFrom(RpcRequests.ReadIndexRequest other) |
static RpcRequests.ReadIndexRequest.Builder |
RpcRequests.ReadIndexRequest.newBuilder(RpcRequests.ReadIndexRequest prototype) |
Future<com.google.protobuf.Message> |
RaftClientService.readIndex(Endpoint endpoint,
RpcRequests.ReadIndexRequest request,
int timeoutMs,
RpcResponseClosure<RpcRequests.ReadIndexResponse> done)
Send a read-index request and handle the response with done.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
ReadIndexRequestProcessor.getGroupId(RpcRequests.ReadIndexRequest request) |
protected String |
ReadIndexRequestProcessor.getPeerId(RpcRequests.ReadIndexRequest request) |
com.google.protobuf.Message |
ReadIndexRequestProcessor.processRequest0(RaftServerService service,
RpcRequests.ReadIndexRequest request,
RpcRequestClosure done) |
Future<com.google.protobuf.Message> |
DefaultRaftClientService.readIndex(Endpoint endpoint,
RpcRequests.ReadIndexRequest request,
int timeoutMs,
RpcResponseClosure<RpcRequests.ReadIndexResponse> done) |
Copyright © 2024. All rights reserved.