@InterfaceAudience.LimitedPrivate
@InterfaceStability.Stable
public interface Entry
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData() |
byte[] |
getDataAndRelease() |
io.netty.buffer.ByteBuf |
getDataBuffer() |
long |
getEntryId() |
long |
getLedgerId() |
int |
getLength() |
Position |
getPosition() |
boolean |
release()
Release the resources (data) allocated for this entry and recycle if all the resources are deallocated (ref-count
of data reached to 0).
|
byte[] getData()
byte[] getDataAndRelease()
int getLength()
io.netty.buffer.ByteBuf getDataBuffer()
Position getPosition()
long getLedgerId()
long getEntryId()
boolean release()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.