ozone core API

org.ozoneDB.core.storage.gammaStore
Class AbstractStorage

java.lang.Object
  extended byorg.ozoneDB.core.storage.gammaStore.AbstractStorage
All Implemented Interfaces:
Storage
Direct Known Subclasses:
FileStreamStorage, RandomAccessFileStorage

public abstract class AbstractStorage
extends java.lang.Object
implements Storage

Version:
$Id $
Author:
Leo Mekenkamp (mind the anti sp@m)

Constructor Summary
AbstractStorage()
           
 
Method Summary
 void readFully(byte[] b)
           
 void write(byte[] b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.core.storage.gammaStore.Storage
close, length, readFully, readInt, readLong, seek, setLength, write, writeInt, writeLong
 

Constructor Detail

AbstractStorage

public AbstractStorage()
Method Detail

readFully

public void readFully(byte[] b)
               throws java.io.IOException
Specified by:
readFully in interface Storage
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Specified by:
write in interface Storage
Throws:
java.io.IOException

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.