|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstorage.primitiveStorage.PrimitiveStorageManager.Chunk
storage.primitiveStorage.PrimitiveStorageManager.FixedChunk
Fixed chunks are used to storage information in files which size is considered fixed. This kind of chunks are used for storage information in files with a low control of the operating system, in database terms this represent the storage in raw partitions. A fixed chunk has an offset that indicates where the chunks starts in the file, and also has a maximun size that indicates what part of the file it occups.
Method Summary | |
java.lang.String |
getInfo()
Returns a string contains the chunk information. |
long |
getOffset()
Returns the file offset when the chunk starts. |
Methods inherited from class storage.primitiveStorage.PrimitiveStorageManager.Chunk |
getFile, getFileName, getMaxSize, readPage, writePage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public long getOffset()
public java.lang.String getInfo() throws java.io.IOException
PrimitiveStorageManager.Chunk
getInfo
in class PrimitiveStorageManager.Chunk
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |