Class PageBase
java.lang.Object
org.aksw.commons.io.block.impl.PageBase
- All Implemented Interfaces:
AutoCloseable, Block, Segment, Page, org.aksw.commons.io.util.channel.ChannelFactory<Seekable>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longOffset in a parent container; should be 0 if there is noneReturn a byte buffer for the page with freshly initialized positioning i.e.
-
Field Details
-
pageManager
-
id
protected long id -
originalBuffer
-
-
Constructor Details
-
PageBase
-
-
Method Details
-
getOffset
-
getPageManager
- Specified by:
getPageManagerin interfacePage
-
newBuffer
Description copied from interface:PageReturn a byte buffer for the page with freshly initialized positioning i.e. the returned byte buffer should be created using originalBuffer.duplicate() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-