| 程序包 | 说明 |
|---|---|
| com.alipay.sofa.jraft | |
| com.alipay.sofa.jraft.core | |
| com.alipay.sofa.jraft.entity |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ReadOnlyService.addRequest(byte[] reqCtx,
ReadIndexClosure closure)
Adds a ReadIndex request.
|
void |
Node.readIndex(byte[] requestContext,
ReadIndexClosure done)
[Thread-safe and wait-free]
Starts a linearizable read-only query request with request context(optional,
such as request id etc.) and closure.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ReadOnlyServiceImpl.addRequest(byte[] reqCtx,
ReadIndexClosure closure) |
void |
NodeImpl.readIndex(byte[] requestContext,
ReadIndexClosure done) |
| 限定符和类型 | 方法和说明 |
|---|---|
ReadIndexClosure |
ReadIndexState.getDone() |
| 构造器和说明 |
|---|
ReadIndexState(Bytes requestContext,
ReadIndexClosure done,
long startTimeMs) |
Copyright © 2021. All rights reserved.