org.gillius.realdb.model
Interface DataBlockSummaryReader

All Known Subinterfaces:
DataBlockManager
All Known Implementing Classes:
DefaultDataBlockManager

public interface DataBlockSummaryReader

DataBlockSummaryReader provides an interface for reading DataBlockHeaders to get their information such as start and end times.

Author:
Jason Winnebeck

Method Summary
 DefaultRange readBlockRange(int blockNum)
          Reads a block's Range directly from the underlying storage (DataSection).
 

Method Detail

readBlockRange

DefaultRange readBlockRange(int blockNum)
                            throws java.io.IOException,
                                   BadFileException
Reads a block's Range directly from the underlying storage (DataSection). The range of a data block is the start and end of the first and last record timestamps.

Throws:
java.io.IOException - if the block could not be read
BadFileException - if the block loaded was corrupted


Copyright © 2008-2010 Jason Winnebeck. All Rights Reserved.