pl.edu.pjwstk.yaod.store.defaultstore.newblocks
Class Tester

java.lang.Object
  |
  +--pl.edu.pjwstk.yaod.store.defaultstore.newblocks.Tester

public class Tester
extends java.lang.Object


Constructor Summary
Tester()
           
 
Method Summary
 void begin()
           
 void createRecord(byte[] data)
           
 void deleteRecord(RecordPointer recordPtr)
           
 DataBlock getBlock(short file, short block)
           
 DataBlock getDatablockWithSpace(int size)
           
 byte[] getRecord(RecordPointer recordPtr)
           
static void main(java.lang.String[] args)
           
 void updateRecord(RecordPointer recordPtr, byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tester

public Tester()
       throws java.lang.Exception
Method Detail

getDatablockWithSpace

public DataBlock getDatablockWithSpace(int size)

getBlock

public DataBlock getBlock(short file,
                          short block)

updateRecord

public void updateRecord(RecordPointer recordPtr,
                         byte[] data)
                  throws java.lang.Exception

createRecord

public void createRecord(byte[] data)
                  throws java.lang.Exception

getRecord

public byte[] getRecord(RecordPointer recordPtr)
                 throws java.lang.Exception

deleteRecord

public void deleteRecord(RecordPointer recordPtr)
                  throws java.lang.Exception

begin

public void begin()
           throws java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception