Package storage.primitiveStorage

This package provides methods to manage the primitive storage component of storage data abstraction.

See:
          Description

Class Summary
PrimitiveStorageManager This class is used to manage the operatios of a primitive storage component.
 

Exception Summary
AlreadyExistingChunkNumberException Thrown when trying to create a chunk with a number that previously exists.
InvalidBufferCapacityException Thrown when trying to create a buffer with a invalid size, i.e. a negative size.
InvalidChunkNumberException Thrown when trying to use a invalid chunk number, i.e. a negative chunk number or a too big chunk number.
InvalidChunkOffsetException Thrown when trying to use a invalid offset for fixed chunks, i.e. a negative offset.
InvalidChunkSizeException Thrown when trying to use a invalid chunk size, i.e. a negative chunk size or a too large chunk size.
InvalidPageSizeException Thrown when trying to use a invalid page size.
NotExistingChunkNumberException Thrown when trying to use a chunk number but it does not exist.
PageNumberOutOfRangeException Thrown when trying to use a page which number is out of the chunk.
PrimitiveStorageException This class and its subclasses are used to indicate errors in the primitive storage component.
UnaddressableChunkException Thrown when trying to construct a fixed chunk which size-offser combination can not be addressable.
 

Package storage.primitiveStorage Description

This package provides methods to manage the primitive storage component of storage data abstraction.

The primitive storage uses chunks to distribute the data in several sources (devices and file systems), a chunk is a part of the secundary storage, Secundary storage is organized using files, so a chunk is a file or a part of a file.

Primitive storage provides basic I/O instructions for pages and controls a buffer in memory to improve the performance of these instructions.

Author:
Egar Arturo García Cárdenas
eagc@fciencias.unam.mx