public class PushEntryRequest extends RequestOrResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
PushEntryRequest.Type |
| Constructor and Description |
|---|
PushEntryRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(DLedgerEntry entry) |
void |
clear() |
List<DLedgerEntry> |
getBatchEntry() |
long |
getCommitIndex() |
int |
getCount() |
DLedgerEntry |
getEntry() |
long |
getFirstEntryIndex() |
long |
getLastEntryIndex() |
long |
getTotalSize() |
PushEntryRequest.Type |
getType() |
boolean |
isBatch() |
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 List<DLedgerEntry> getBatchEntry()
public void clear()
public boolean isBatch()
Copyright © 2023. All rights reserved.