| 程序包 | 说明 |
|---|---|
| com.alipay.sofa.jraft.storage.impl | |
| com.alipay.sofa.jraft.storage.log |
| 限定符和类型 | 类和说明 |
|---|---|
protected static class |
RocksDBLogStorage.EmptyWriteContext
An empty write context
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected RocksDBLogStorage.WriteContext |
RocksDBLogStorage.newWriteContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected byte[] |
RocksDBLogStorage.onDataAppend(long logIndex,
byte[] value,
RocksDBLogStorage.WriteContext ctx)
Called before appending data entry.
|
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RocksDBSegmentLogStorage.BarrierWriteContext |
| 限定符和类型 | 方法和说明 |
|---|---|
protected RocksDBLogStorage.WriteContext |
RocksDBSegmentLogStorage.newWriteContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected byte[] |
RocksDBSegmentLogStorage.onDataAppend(long logIndex,
byte[] value,
RocksDBLogStorage.WriteContext ctx) |
int |
SegmentFile.write(long logIndex,
byte[] data,
RocksDBLogStorage.WriteContext ctx)
Write the data and return it's wrote position.
|
Copyright © 2021. All rights reserved.