public interface ReplicatedLogEntry
Modifier and Type | Method and Description |
---|---|
Payload |
getData()
Returns the payload/data to be replicated.
|
long |
getIndex()
Returns the index of the entry.
|
long |
getTerm()
Returns the term of the entry.
|
boolean |
isPersistencePending()
Checks if persistence is pending for this entry.
|
void |
setPersistencePending(boolean pending)
Sets whether or not persistence is pending for this entry.
|
int |
size()
Returns the size of the entry in bytes.
|
Payload getData()
long getTerm()
long getIndex()
int size()
boolean isPersistencePending()
void setPersistencePending(boolean pending)
pending
- the new setting.Copyright © 2019 OpenDaylight. All rights reserved.