public class LastConfirmedAndEntryImpl extends java.lang.Object implements LastConfirmedAndEntry
| Constructor and Description |
|---|
LastConfirmedAndEntryImpl(io.netty.util.Recycler.Handle<LastConfirmedAndEntryImpl> handle) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static LastConfirmedAndEntryImpl |
create(long lac,
LedgerEntry entry) |
LedgerEntry |
getEntry()
Gets wanted LedgerEntry.
|
long |
getLastAddConfirmed()
Gets LastAddConfirmed entryId.
|
boolean |
hasEntry()
Whether this entity contains an entry.
|
public LastConfirmedAndEntryImpl(io.netty.util.Recycler.Handle<LastConfirmedAndEntryImpl> handle)
public static LastConfirmedAndEntryImpl create(long lac, LedgerEntry entry)
public long getLastAddConfirmed()
getLastAddConfirmed in interface LastConfirmedAndEntrypublic boolean hasEntry()
hasEntry in interface LastConfirmedAndEntrypublic LedgerEntry getEntry()
getEntry in interface LastConfirmedAndEntrypublic void close()
close in interface java.lang.AutoCloseableclose in interface LastConfirmedAndEntryCopyright © 2011–2024 The Apache Software Foundation. All rights reserved.