org.fusesource.hawtdb.api
Interface PageFile

All Superinterfaces:
Paged

public interface PageFile
extends Paged

A page file provides paged access to a physical file.

Author:
Hiram Chirino

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.fusesource.hawtdb.api.Paged
Paged.SliceType
 
Method Summary
 void write(int pageId, java.nio.ByteBuffer buffer)
          Writes a byte buffer to a page location.
 
Methods inherited from interface org.fusesource.hawtdb.api.Paged
alloc, allocator, clear, flush, free, get, getPageSize, pages, put, read, slice, unslice, write
 

Method Detail

write

void write(int pageId,
           java.nio.ByteBuffer buffer)
Writes a byte buffer to a page location.

Parameters:
pageId - the location to write to
buffer - the buffer containing the data to write.


Copyright © 2009-2011 FuseSource, Corp.. All Rights Reserved.