public class PushEntryRequest extends RequestOrResponse
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PushEntryRequest.Type |
| 构造器和说明 |
|---|
PushEntryRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addEntry(DLedgerEntry entry) |
void |
clear() |
java.util.List<DLedgerEntry> |
getBatchEntry() |
long |
getCommitIndex() |
int |
getCount() |
DLedgerEntry |
getEntry() |
long |
getFirstEntryIndex() |
long |
getLastEntryIndex() |
long |
getTotalSize() |
PushEntryRequest.Type |
getType() |
void |
setCommitIndex(long commitIndex) |
void |
setEntry(DLedgerEntry entry) |
void |
setType(PushEntryRequest.Type type) |
baseInfo, code, copyBaseInfo, getCode, getGroup, getLeaderId, getLocalId, getRemoteId, getTerm, setCode, setGroup, setIds, setLeaderId, setLocalId, setRemoteId, setTermpublic DLedgerEntry getEntry()
public void setEntry(DLedgerEntry entry)
public PushEntryRequest.Type getType()
public void setType(PushEntryRequest.Type type)
public long getCommitIndex()
public void setCommitIndex(long commitIndex)
public void addEntry(DLedgerEntry entry)
public long getFirstEntryIndex()
public long getLastEntryIndex()
public int getCount()
public long getTotalSize()
public java.util.List<DLedgerEntry> getBatchEntry()
public void clear()
Copyright © 2020. All Rights Reserved.