A B C D E F G H I L M N O P R S T U W

A

AdvancedStorageException - exception storage.advancedStorage.AdvancedStorageException.
This class and its subclasses are used to indicate errors in the advanced storage component.
AdvancedStorageException(String) - Constructor for class storage.advancedStorage.AdvancedStorageException
Constructs a AdvancedStorageException with no detail message.
AdvancedStorageException() - Constructor for class storage.advancedStorage.AdvancedStorageException
Constructs a AdvancedStorageException with the specified detail message.
AdvancedStorageManager - class storage.advancedStorage.AdvancedStorageManager.
This class is used to manage the operatios of the advanced storage component.
AdvancedStorageManager(IntermediateStorageManager, int[]) - Constructor for class storage.advancedStorage.AdvancedStorageManager
Constructs an advanced storage manager from a intrmedite storage manager and an array that specified the number of segments and ther unit sizes.
AdvancedStorageManager.Segment - class storage.advancedStorage.AdvancedStorageManager.Segment.
This class represents a segment, a segmen is a set of spaces, each space inside a segment is identified by a number.
AdvancedStorageManager.Segment.Space - class storage.advancedStorage.AdvancedStorageManager.Segment.Space.
This class represents a space, a space is a set of units, each unit inside a space is identified by a unique number.
AdvancedStorageManager.Segment.SpaceNumberIterator - class storage.advancedStorage.AdvancedStorageManager.Segment.SpaceNumberIterator.
This class is used to retrieve the used space numbers inside the segment.
AlreadyExistingChunkNumberException - exception storage.primitiveStorage.AlreadyExistingChunkNumberException.
Thrown when trying to create a chunk with a number that previously exists.
AlreadyExistingChunkNumberException() - Constructor for class storage.primitiveStorage.AlreadyExistingChunkNumberException
Constructs a AlreadyExistingChunkNumberException with no detail message.
AlreadyExistingChunkNumberException(String) - Constructor for class storage.primitiveStorage.AlreadyExistingChunkNumberException
Constructs a AlreadyExistingChunkNumberException with the specified detail message.
AlreadyExistingSpaceNumberException - exception storage.advancedStorage.AlreadyExistingSpaceNumberException.
Thrown when trying to create a space with a number that previously exists.
AlreadyExistingSpaceNumberException(String) - Constructor for class storage.advancedStorage.AlreadyExistingSpaceNumberException
Constructs a AlreadyExistingSpaceNumberException with no detail message.
AlreadyExistingSpaceNumberException() - Constructor for class storage.advancedStorage.AlreadyExistingSpaceNumberException
Constructs a AlreadyExistingSpaceNumberException with the specified detail message.
activeBuffer() - Method in class storage.primitiveStorage.PrimitiveStorageManager
Actives the buffer.
addUnit(int, int, long) - Method in class storage.UnitsStorageManager
Adds a unit with specifified segment, space and unit numbers, i.e. occups that unit.
addUnit(int, UnitAddress) - Method in class storage.UnitsStorageManager
Adds a unit with specifified segment and unit address, i.e. occups that unit.

B

BadFileFormatException - exception storage.tools.BadFileFormatException.
Thrown when a inconsistency is detected in a file used for storage settings.
BadFileFormatException() - Constructor for class storage.tools.BadFileFormatException
Constructs a BadFileFormatException with no detail message.
BadFileFormatException(String) - Constructor for class storage.tools.BadFileFormatException
Constructs a BadFileFormatException with the specified detail message.

C

CLOCK_ALGORITHM - Static variable in class storage.primitiveStorage.PrimitiveStorageManager
Represents the Clock or LRU with second chance replace algorithm.
changeSize(long) - Method in class storage.primitiveStorage.PrimitiveStorageManager.FlexibleChunk
Changes the size of the file used by the chunk.
closeAll() - Method in class storage.primitiveStorage.PrimitiveStorageManager
Closes all files used in this component.
containsChunkNumber(int) - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable
Checks if a chunk with a given number exists in the table.
createFixedChunk(int, File, long, long) - Method in class storage.tools.StorageToolsManager
Creates and loads a fixed chunk in the storage organization.
createFlexibleChunk(int, File, long) - Method in class storage.tools.StorageToolsManager
Creates and loads a flexible chunk with a specified maximun size in the storage organization, the previous content of the file is destoyed.
createFlexibleChunk(int, File) - Method in class storage.tools.StorageToolsManager
Creates and loads a flexible chunk in the storage organization, the previous content of the file is destoyed.
createSpace(int, int, int) - Method in class storage.tools.StorageToolsManager
Creates a new space with a associated chunk, the previous content of the file is replaced.

D

DEFAULT_PAGE_SIZE - Static variable in class storage.primitiveStorage.PrimitiveStorageManager
The default page size if other is not specified.
deactiveBuffer() - Method in class storage.primitiveStorage.PrimitiveStorageManager
Deactives the buffer.
dropChunk(int) - Method in class storage.tools.StorageToolsManager
Drop or removes a chunk from the storage organization.
dropSpace(int, int) - Method in class storage.tools.StorageToolsManager
Drop or removes a space from the storage organization.
dropUnit(int, int, long) - Method in class storage.UnitsStorageManager
Drops a specific unit, i.e. frees the specified unit.
dropUnit(int, UnitAddress) - Method in class storage.UnitsStorageManager
Drops a specific unit, i.e. frees the specified unit.

E

equals(UnitAddress) - Method in class storage.UnitAddress
Checks if two unit address have the same values.

F

FIFO_ALGORITHM - Static variable in class storage.primitiveStorage.PrimitiveStorageManager
Represents the FIFO (First In First Out) replace algorithm.
findFirstFreeUnit() - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
This function finds the first available unit in the space.
findFreeUnit(int) - Method in class storage.UnitsStorageManager
Finds the first free unit in the segment.
findFreeUnit(int, UnitAddress) - Method in class storage.UnitsStorageManager
Finds the first free unit in the segment.
findFreeUnitAsCloserAsPosibleOf(int, int, long) - Method in class storage.UnitsStorageManager
Tries to find a free unit, first in the same page, second in the same space and finally in the same segment of a specified unit.
findFreeUnitAsCloserAsPosibleOf(int, UnitAddress) - Method in class storage.UnitsStorageManager
Tries to find a free unit, first in the same page, second in the same space and finally in the same segment of a specified unit.
findFreeUnitAsCloserAsPosibleOf(int, int, long, UnitAddress) - Method in class storage.UnitsStorageManager
Tries to find a free unit, first in the same page, second in the same space and finally in the same segment of a specified unit.
findFreeUnitAsCloserAsPosibleOf(int, UnitAddress, UnitAddress) - Method in class storage.UnitsStorageManager
Tries to find a free unit, first in the same page, second in the same space and finally in the same segment of a specified unit.
findFreeUnitCloseOf(long) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Find a free unit in the same page of a given unit.
freeUnit(long) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Sets a specific unit as free.

G

get(int) - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable
Returns the chunk with the specified number.
getAdvancedStorageManager() - Method in class storage.UnitsStorageManager
Returns the underlying advanced storage manager.
getAdvancedStorageManager() - Method in class storage.tools.StorageToolsManager
Returns the underlying advanced storage manager.
getChunk() - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable.Entry
Returns the chunk object.
getChunk(int) - Method in class storage.primitiveStorage.PrimitiveStorageManager
Returns the chunk with the specified number.
getChunkNumber() - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Returns the number (in primitive storage component) of the chunk in wich the space is mounted.
getChunkNumber() - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable.Entry
Returns the chunk number.
getChunkNumbers() - Method in class storage.primitiveStorage.PrimitiveStorageManager
Returns the sequence of used chunk numbers.
getEntry(int) - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable
Returns the number-chunk pair with the specified number.
getFile() - Method in class storage.primitiveStorage.PrimitiveStorageManager.Chunk
Returns the java RandomAccessFile used by the chunk.
getFileName() - Method in class storage.primitiveStorage.PrimitiveStorageManager.Chunk
Returns the file name used by the chunk.
getFirst() - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable
Returns the first inserted number-chunk pair.
getInfo() - Method in class storage.primitiveStorage.PrimitiveStorageManager.Chunk
Returns a string contains the chunk information.
getInfo() - Method in class storage.primitiveStorage.PrimitiveStorageManager.FixedChunk
 
getInfo() - Method in class storage.primitiveStorage.PrimitiveStorageManager.FlexibleChunk
 
getIntermediateStorageManager() - Method in class storage.UnitsStorageManager
Returns the underlying intermediate storage manager.
getIntermediateStorageManager() - Method in class storage.advancedStorage.AdvancedStorageManager
Returns the underlying intermediate storage manager.
getIntermediateStorageManager() - Method in class storage.tools.StorageToolsManager
Returns the underlying intermediate storage manager.
getLast() - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable
Returns the last inserted number-chunk pair.
getMaxNumberOfUnits() - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Returns the maximun number of units that can be stored in the space.
getMaxSize() - Method in class storage.primitiveStorage.PrimitiveStorageManager.Chunk
Returns the maximum size (in bytes) of the chunk.
getNext() - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable.Entry
Returns the next number-chunk pair of the table in the insertion order.
getNumberOfSegments() - Method in class storage.advancedStorage.AdvancedStorageManager
Returns the number of existing segments.
getOffset() - Method in class storage.primitiveStorage.PrimitiveStorageManager.FixedChunk
Returns the file offset when the chunk starts.
getPageSize() - Method in class storage.primitiveStorage.PrimitiveStorageManager
Return the used page size (in bytes).
getPrevious() - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable.Entry
Returns the previous number-chunk pair of the table in the insertion order.
getPrimitiveStorageManager() - Method in class storage.UnitsStorageManager
Returns the underlying primitive storage manager.
getPrimitiveStorageManager() - Method in class storage.advancedStorage.AdvancedStorageManager
Returns the underlying primitive storage manager.
getPrimitiveStorageManager() - Method in class storage.intermediateStorage.IntermediateStorageManager
Returns the underlying primitive storage manager.
getPrimitiveStorageManager() - Method in class storage.tools.StorageToolsManager
Returns the underlying primitive storage manager.
getSegment(int) - Method in class storage.advancedStorage.AdvancedStorageManager
Returns the segment identified with the specified number.
getSize() - Method in class storage.primitiveStorage.PrimitiveStorageManager.FlexibleChunk
Returns the real size (in bytes) of the chunk, i.e. the size of file used by the chunk.
getSpace(int) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment
Returns the space with the specified number.
getSpaceNumber() - Method in class storage.UnitAddress
Returns the space number.
getSpaceNumbers() - Method in class storage.advancedStorage.AdvancedStorageManager.Segment
Returns the sequence of used space numbers by the segment.
getUnitNumber() - Method in class storage.UnitAddress
Returns the unit number.
getUnitSize() - Method in class storage.advancedStorage.AdvancedStorageManager.Segment
Returns the size of the units in the segmet.
getUsedSize() - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Returns the number of bytes that the space is really using.

H

hasNext() - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.SpaceNumberIterator
Indicates if there are more space numbers in the sequence.
hasNext() - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunkNumberIterator
Indicates if there are more chunk numbers in the sequence.

I

InconsistentStorageStructureException - exception storage.advancedStorage.InconsistentStorageStructureException.
Thrown when a inconsisten storage organization is detected.
InconsistentStorageStructureException(String) - Constructor for class storage.advancedStorage.InconsistentStorageStructureException
Constructs a InconsistentStorageStructureException with no detail message.
InconsistentStorageStructureException() - Constructor for class storage.advancedStorage.InconsistentStorageStructureException
Constructs a InconsistentStorageStructureException with the specified detail message.
IntermediateStorageException - exception storage.intermediateStorage.IntermediateStorageException.
This class and its subclasses are used to indicate errors in the intermediate storage component.
IntermediateStorageException() - Constructor for class storage.intermediateStorage.IntermediateStorageException
Constructs a IntermediateStorageException with no detail message.
IntermediateStorageException(String) - Constructor for class storage.intermediateStorage.IntermediateStorageException
Constructs a IntermediateStorageException with the detailed detail message.
IntermediateStorageManager - class storage.intermediateStorage.IntermediateStorageManager.
This class is used to manage the operatios of the intermediate storage component.
IntermediateStorageManager(PrimitiveStorageManager) - Constructor for class storage.intermediateStorage.IntermediateStorageManager
Constructs an intermediate storage manager from a primitive storage manager.
InvalidBufferCapacityException - exception storage.primitiveStorage.InvalidBufferCapacityException.
Thrown when trying to create a buffer with a invalid size, i.e. a negative size.
InvalidBufferCapacityException() - Constructor for class storage.primitiveStorage.InvalidBufferCapacityException
Constructs a InvalidBufferCapacityException with no detail message.
InvalidBufferCapacityException(String) - Constructor for class storage.primitiveStorage.InvalidBufferCapacityException
Constructs a InvalidBufferCapacityException with the specified detail message.
InvalidChunkNumberException - exception storage.primitiveStorage.InvalidChunkNumberException.
Thrown when trying to use a invalid chunk number, i.e. a negative chunk number or a too big chunk number.
InvalidChunkNumberException() - Constructor for class storage.primitiveStorage.InvalidChunkNumberException
Constructs a InvalidChunkNumberException with no detail message.
InvalidChunkNumberException(String) - Constructor for class storage.primitiveStorage.InvalidChunkNumberException
Constructs a InvalidChunkNumberException with the specified detail message.
InvalidChunkOffsetException - exception storage.primitiveStorage.InvalidChunkOffsetException.
Thrown when trying to use a invalid offset for fixed chunks, i.e. a negative offset.
InvalidChunkOffsetException() - Constructor for class storage.primitiveStorage.InvalidChunkOffsetException
Constructs a InvalidChunkOffsetException with no detail message.
InvalidChunkOffsetException(String) - Constructor for class storage.primitiveStorage.InvalidChunkOffsetException
Constructs a InvalidChunkOffsetException with the specified detail message.
InvalidChunkSizeException - exception storage.primitiveStorage.InvalidChunkSizeException.
Thrown when trying to use a invalid chunk size, i.e. a negative chunk size or a too large chunk size.
InvalidChunkSizeException() - Constructor for class storage.primitiveStorage.InvalidChunkSizeException
Constructs a InvalidChunkSizeException with no detail message.
InvalidChunkSizeException(String) - Constructor for class storage.primitiveStorage.InvalidChunkSizeException
Constructs a InvalidChunkSizeException with the specified detail message.
InvalidPageOffsetException - exception storage.intermediateStorage.InvalidPageOffsetException.
Thrown when trying to use a page offset which is out of the page.
InvalidPageOffsetException() - Constructor for class storage.intermediateStorage.InvalidPageOffsetException
Constructs a InvalidPageOffsetException with no detail message.
InvalidPageOffsetException(String) - Constructor for class storage.intermediateStorage.InvalidPageOffsetException
Constructs a InvalidPageOffsetException with the specified detail message.
InvalidPageSizeException - exception storage.primitiveStorage.InvalidPageSizeException.
Thrown when trying to use a invalid page size.
InvalidPageSizeException() - Constructor for class storage.primitiveStorage.InvalidPageSizeException
Constructs a InvalidPageSizeException with no detail message.
InvalidPageSizeException(String) - Constructor for class storage.primitiveStorage.InvalidPageSizeException
Constructs a InvalidPageSizeException with the specified detail message.
InvalidSpaceNumberException - exception storage.advancedStorage.InvalidSpaceNumberException.
Thrown when trying to use a invalid space number, i.e. a negative space number or a too big space number.
InvalidSpaceNumberException(String) - Constructor for class storage.advancedStorage.InvalidSpaceNumberException
Constructs a InvalidSpaceNumberException with no detail message.
InvalidSpaceNumberException() - Constructor for class storage.advancedStorage.InvalidSpaceNumberException
Constructs a InvalidSpaceNumberException with the specified detail message.
InvalidUnitOffsetException - exception storage.advancedStorage.InvalidUnitOffsetException.
Thrown when trying to use a invalid offset inside a unit, i.e. negative or out of the unit.
InvalidUnitOffsetException(String) - Constructor for class storage.advancedStorage.InvalidUnitOffsetException
Constructs a InvalidUnitOffsetException with no detail message.
InvalidUnitOffsetException() - Constructor for class storage.advancedStorage.InvalidUnitOffsetException
Constructs a InvalidUnitOffsetException with the specified detail message.
InvalidUnitSizeException - exception storage.advancedStorage.InvalidUnitSizeException.
Thrown when trying to use a invalid unit size, i.e. a negative unit size or a unit size bigger than page size.
InvalidUnitSizeException(String) - Constructor for class storage.advancedStorage.InvalidUnitSizeException
Constructs a InvalidUnitSizeException with no detail message.
InvalidUnitSizeException() - Constructor for class storage.advancedStorage.InvalidUnitSizeException
Constructs a InvalidUnitSizeException with the specified detail message.
isEmpty() - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Returns true if the space is empty, i.e. all is units are free.
isFreeUnit(int, int, long) - Method in class storage.UnitsStorageManager
Checks if a unit is free.
isFreeUnit(int, UnitAddress) - Method in class storage.UnitsStorageManager
Checks if a unit is free.
isFreeUnit(long) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Checks if a unit is free.
isOccupiedUnit(int, int, long) - Method in class storage.UnitsStorageManager
Checks if a unit is occupied.
isOccupiedUnit(int, UnitAddress) - Method in class storage.UnitsStorageManager
Checks if a unit is occupied.
isOccupiedUnit(long) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Checks if a unit is occupied.

L

LIFO_ALGORITHM - Static variable in class storage.primitiveStorage.PrimitiveStorageManager
Represents the LIFO (Last In First Out) replace algorithm.
LRU_ALGORITHM - Static variable in class storage.primitiveStorage.PrimitiveStorageManager
Represents the LRU (Least Recent Used) replace algorithm.
loadFixedChunk(int, File, long, long) - Method in class storage.primitiveStorage.PrimitiveStorageManager
Load a fixed chunk with a specified chunk number.
loadFlexibleChunk(int, File, long, boolean) - Method in class storage.primitiveStorage.PrimitiveStorageManager
Load a flexible chunk with a specified chunk number.
loadFlexibleChunk(int, File, boolean) - Method in class storage.primitiveStorage.PrimitiveStorageManager
Load a flexible chunk with a specified chunk number and the default maximum size.
loadFlexibleChunk(int, File) - Method in class storage.primitiveStorage.PrimitiveStorageManager
Load a flexible chunk with a specified chunk number, the default maximum size and keeping the previous file's content.
loadSettingsFromFile(File) - Method in class storage.tools.StorageToolsManager
Loads the storage settings (chunk and space organization) from a file.
loadSpace(int, int, boolean) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment
Load a space with a specified space number.

M

MAX_CHUNK_NUMBER - Static variable in class storage.primitiveStorage.PrimitiveStorageManager
The maximum number which a chunk can be associated.
MAX_CHUNK_SIZE - Static variable in class storage.primitiveStorage.PrimitiveStorageManager
The maximum size of a chunk.
MAX_SPACE_NUMBER - Static variable in class storage.advancedStorage.AdvancedStorageManager
The maximum space number.
MIN_PAGE_SIZE - Static variable in class storage.primitiveStorage.PrimitiveStorageManager
The manimum size of a page.
MRU_ALGORITHM - Static variable in class storage.primitiveStorage.PrimitiveStorageManager
Represents the MRU (Most Recent Used) replace algorithm.

N

NotExistingChunkNumberException - exception storage.primitiveStorage.NotExistingChunkNumberException.
Thrown when trying to use a chunk number but it does not exist.
NotExistingChunkNumberException() - Constructor for class storage.primitiveStorage.NotExistingChunkNumberException
Constructs a NotExistingChunkNumberException with no detail message.
NotExistingChunkNumberException(String) - Constructor for class storage.primitiveStorage.NotExistingChunkNumberException
Constructs a NotExistingChunkNumberException with the specified detail message.
NotExistingSpaceNumberException - exception storage.advancedStorage.NotExistingSpaceNumberException.
Thrown when trying to use a space number but it does not exist.
NotExistingSpaceNumberException(String) - Constructor for class storage.advancedStorage.NotExistingSpaceNumberException
Constructs a NotExistingSpaceNumberException with no detail message.
NotExistingSpaceNumberException() - Constructor for class storage.advancedStorage.NotExistingSpaceNumberException
Constructs a NotExistingSpaceNumberException with the specified detail message.
next() - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.SpaceNumberIterator
Returns the next space number in the sequence.
next() - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunkNumberIterator
Returns the next chunk number in the sequence.

O

OutOfPageException - exception storage.intermediateStorage.OutOfPageException.
Thrown when trying to retrive more information that the page has.
OutOfPageException() - Constructor for class storage.intermediateStorage.OutOfPageException
Constructs a OutOfPageException with no detail message.
OutOfPageException(String) - Constructor for class storage.intermediateStorage.OutOfPageException
Constructs a OutOfPageException with the specified detail message.
OutOfUnitException - exception storage.advancedStorage.OutOfUnitException.
Thrown when trying to acces retrive more information that the unit has.
OutOfUnitException(String) - Constructor for class storage.advancedStorage.OutOfUnitException
Constructs a OutOfUnitException with no detail message.
OutOfUnitException() - Constructor for class storage.advancedStorage.OutOfUnitException
Constructs a OutOfUnitException with the specified detail message.
occupUnit(long) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Sets a specific unit as occupied.

P

PageNumberOutOfRangeException - exception storage.primitiveStorage.PageNumberOutOfRangeException.
Thrown when trying to use a page which number is out of the chunk.
PageNumberOutOfRangeException() - Constructor for class storage.primitiveStorage.PageNumberOutOfRangeException
Constructs a PageNumberOutOfRangeException with no detail message.
PageNumberOutOfRangeException(String) - Constructor for class storage.primitiveStorage.PageNumberOutOfRangeException
Constructs a PageNumberOutOfRangeException with the specified detail message.
PrimitiveStorageException - exception storage.primitiveStorage.PrimitiveStorageException.
This class and its subclasses are used to indicate errors in the primitive storage component.
PrimitiveStorageException() - Constructor for class storage.primitiveStorage.PrimitiveStorageException
Constructs a PrimitiveStorageException with no detail message.
PrimitiveStorageException(String) - Constructor for class storage.primitiveStorage.PrimitiveStorageException
Constructs a PrimitiveStorageException with the detailed detail message.
PrimitiveStorageManager - class storage.primitiveStorage.PrimitiveStorageManager.
This class is used to manage the operatios of a primitive storage component.
PrimitiveStorageManager(int, int, int) - Constructor for class storage.primitiveStorage.PrimitiveStorageManager
Constructs a primitive storage manager with a specific page size (in bytes), a specific buffer size (in bytes) and a specific replace algorithm.
PrimitiveStorageManager(int, int) - Constructor for class storage.primitiveStorage.PrimitiveStorageManager
Constructs a primitive storage manager with a specific page size (in bytes), a specific buffer size (in bytes) and the LRU replace algorithm.
PrimitiveStorageManager(int) - Constructor for class storage.primitiveStorage.PrimitiveStorageManager
Constructs a primitive storage manager with a specific page size (in bytes) and with no actived buffer.
PrimitiveStorageManager() - Constructor for class storage.primitiveStorage.PrimitiveStorageManager
Constructs a primitive storage manager with the default page size and with no actived buffer.
PrimitiveStorageManager.Chunk - class storage.primitiveStorage.PrimitiveStorageManager.Chunk.
A chunks is a part of secundary storage.
PrimitiveStorageManager.ChunkNumberIterator - class storage.primitiveStorage.PrimitiveStorageManager.ChunkNumberIterator.
This class is used to retrieve the used chunk numbers.
PrimitiveStorageManager.ChunksTable - class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable.
This class represents the chunk's table, i.e. a set of number-chunk pairs.
PrimitiveStorageManager.ChunksTable() - Constructor for class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable
Constructs an empty chunk's table.
PrimitiveStorageManager.ChunksTable.Entry - class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable.Entry.
Represents a number-chunk pair.
PrimitiveStorageManager.FixedChunk - class storage.primitiveStorage.PrimitiveStorageManager.FixedChunk.
Fixed chunks are used to storage information in files which size is considered fixed.
PrimitiveStorageManager.FlexibleChunk - class storage.primitiveStorage.PrimitiveStorageManager.FlexibleChunk.
Flexible chunks are used to storage information in files which size can grow or decrease.
put(int, PrimitiveStorageManager.Chunk) - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable
Puts a chunk with a specified number in the table.

R

read(int, long, int, byte[], int, int) - Method in class storage.intermediateStorage.IntermediateStorageManager
Reads partially a page starting from an offset and reading a specific length of bytes.
readBit(int, long, long) - Method in class storage.intermediateStorage.IntermediateStorageManager
Reads a specific bit from a page.
readLong(int, long, int) - Method in class storage.intermediateStorage.IntermediateStorageManager
Reads a java 8-byte long from a page.
readPage(int, long, byte[], int) - Method in class storage.intermediateStorage.IntermediateStorageManager
Reads fully a page.
readPage(long, byte[]) - Method in class storage.primitiveStorage.PrimitiveStorageManager.Chunk
Reads a page from the chunk and copies the content in the specified byte array.
readPage(int, long, byte[]) - Method in class storage.primitiveStorage.PrimitiveStorageManager
Read a specified page in a specified chunk and copies its content in an array.
readUnit(int, int, long, byte[], int) - Method in class storage.UnitsStorageManager
Reads fully a unit.
readUnit(int, UnitAddress, byte[], int) - Method in class storage.UnitsStorageManager
Reads fully a unit.
readUnit(int, int, long, int, int, byte[], int) - Method in class storage.UnitsStorageManager
Reads partially a unit starting from an offset and reading a specific length.
readUnit(int, UnitAddress, int, int, byte[], int) - Method in class storage.UnitsStorageManager
Reads partially a unit starting from an offset and reading a specific length.
readUnit(long, int, int, byte[], int) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Reads partially a unit starting from an offset and reading a specific length.
readUnit(long, byte[], int) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Reads fully a unit.
reduce() - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Reduce the logic assigned space, later the physical space can be reduced.
remove(int) - Method in class storage.primitiveStorage.PrimitiveStorageManager.ChunksTable
Removes a chunk with a specified number from the table.
removeChunk(int) - Method in class storage.primitiveStorage.PrimitiveStorageManager
Removes the chunk with the specified number.
removeSpace(int) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment
Removes the space with the specified number inside the segment.

S

StorageException - exception storage.StorageException.
This class and its subclasses are thrown to indicate a error in some storage component.
StorageException() - Constructor for class storage.StorageException
Constructs a StorageException with no detail message.
StorageException(String) - Constructor for class storage.StorageException
Constructs a StorageException with the specified detail message.
StorageToolException - exception storage.tools.StorageToolException.
This class and its subclasses are used to indicate the errors generated by the storage tools.
StorageToolException() - Constructor for class storage.tools.StorageToolException
Constructs a StorageToolException with no detail message.
StorageToolException(String) - Constructor for class storage.tools.StorageToolException
Constructs a StorageToolException with the specified detail message.
StorageToolsManager - class storage.tools.StorageToolsManager.
This class provides methods for setting and tuning the store components.
StorageToolsManager(AdvancedStorageManager) - Constructor for class storage.tools.StorageToolsManager
Creates a storage tools' magager from an advanced storage manager.
saveSettingsToFile(File) - Method in class storage.tools.StorageToolsManager
Saves the current storage settings (chunk and space organization) to a file.
set(int, long) - Method in class storage.UnitAddress
Sets the space and unit numbers of the address.
show() - Method in class storage.primitiveStorage.PrimitiveStorageManager
Shows information about this component.
showInfo() - Method in class storage.tools.StorageToolsManager
Show the information of storage organization.
storage - package storage
This package provides methods to manage a storage data abstraction.
storage.advancedStorage - package storage.advancedStorage
This package provides methods to manage the the advanced storage component, this is build over the intermediate storage component.
storage.intermediateStorage - package storage.intermediateStorage
This package provides methods to manage the intermediate storage component of storage data abstraction, this is build over the primitive storage component.
storage.primitiveStorage - package storage.primitiveStorage
This package provides methods to manage the primitive storage component of storage data abstraction.
storage.tools - package storage.tools
This package provides methods to make easier the organization and tunning of the data storage, the methods in this package are a kind of shortcuts for the other components.
synchronize() - Method in class storage.advancedStorage.AdvancedStorageManager
Synchronizes with the secundary storage.
synchronize() - Method in class storage.intermediateStorage.IntermediateStorageManager
Syncronizes the local buffer with the underlying primitive storage manager.
synchronizeAndTransfer() - Method in class storage.intermediateStorage.IntermediateStorageManager
Syncronizes itself and the underlying primitive storage manager with secundary storage.
synchronizeTransferAndClear() - Method in class storage.intermediateStorage.IntermediateStorageManager
Syncronizes itself and the underlying primitive storage manager with secundary storage, also crear the buffer.

T

transferAndClearBuffer() - Method in class storage.primitiveStorage.PrimitiveStorageManager
Copies the buffer's content to the secundary storage and clean the buffer.
transferBuffer() - Method in class storage.primitiveStorage.PrimitiveStorageManager
Copies the buffer's content to the secundary storage.
trimAllSpaces() - Method in class storage.tools.StorageToolsManager
Execute a trim for all spaces of the storage organization.
trimSpace(int, int) - Method in class storage.tools.StorageToolsManager
Reduces the logic size of spaces and if it is posible also reduces the real size of the associated chunk.

U

UnaddressableChunkException - exception storage.primitiveStorage.UnaddressableChunkException.
Thrown when trying to construct a fixed chunk which size-offser combination can not be addressable.
UnaddressableChunkException() - Constructor for class storage.primitiveStorage.UnaddressableChunkException
Constructs a UnaddressableChunkException with no detail message.
UnaddressableChunkException(String) - Constructor for class storage.primitiveStorage.UnaddressableChunkException
Constructs a UnaddressableChunkException with the specified detail message.
UndroppableChunkException - exception storage.tools.UndroppableChunkException.
Thrown when trying to drop a chunk, but it is attached to a existing space.
UndroppableChunkException() - Constructor for class storage.tools.UndroppableChunkException
Constructs a UndroppableChunkException with no detail message.
UndroppableChunkException(String) - Constructor for class storage.tools.UndroppableChunkException
Constructs a UndroppableChunkException with the specified detail message.
UndroppableSpaceException - exception storage.tools.UndroppableSpaceException.
Thrown when trying to drop a space, but it is not empty.
UndroppableSpaceException() - Constructor for class storage.tools.UndroppableSpaceException
Constructs a UndroppableSpaceException with no detail message.
UndroppableSpaceException(String) - Constructor for class storage.tools.UndroppableSpaceException
Constructs a UndroppableSpaceException with the specified detail message.
UnitAddress - class storage.UnitAddress.
This class is used to reference a unit inside a segment.
UnitAddress() - Constructor for class storage.UnitAddress
Constructs a new unit address with space and unit numbers in -1.
UnitAddress(int, long) - Constructor for class storage.UnitAddress
Constructs a new unit address with specified space and unit number.
UnitNumberOutOfRangeException - exception storage.advancedStorage.UnitNumberOutOfRangeException.
Thrown when trying to use a unit which number is out of the space.
UnitNumberOutOfRangeException(String) - Constructor for class storage.advancedStorage.UnitNumberOutOfRangeException
Constructs a UnitNumberOutOfRangeException with no detail message.
UnitNumberOutOfRangeException() - Constructor for class storage.advancedStorage.UnitNumberOutOfRangeException
Constructs a UnitNumberOutOfRangeException with the specified detail message.
UnitsStorageManager - class storage.UnitsStorageManager.
This class provides methods for using units.
UnitsStorageManager(AdvancedStorageManager) - Constructor for class storage.UnitsStorageManager
Constructs a units storage manager from an advanced storage manager.

W

write(int, long, int, byte[], int, int) - Method in class storage.intermediateStorage.IntermediateStorageManager
Writes partially a page starting from an offset and writing a specific length of bytes.
writeBit(int, long, long, boolean) - Method in class storage.intermediateStorage.IntermediateStorageManager
Writes a specific bit to a page.
writeLong(int, long, int, long) - Method in class storage.intermediateStorage.IntermediateStorageManager
Write a java 8-byte long to a page.
writePage(int, long, byte[], int) - Method in class storage.intermediateStorage.IntermediateStorageManager
Writes partially a page starting from an offset and writing a specific length of bytes.
writePage(long, byte[]) - Method in class storage.primitiveStorage.PrimitiveStorageManager.Chunk
Writes a page in the chunk and taking the content from a specified byte array.
writePage(int, long, byte[]) - Method in class storage.primitiveStorage.PrimitiveStorageManager
Write a specified page in a specified chunk and copies its content from an array.
writeUnit(int, int, long, byte[], int) - Method in class storage.UnitsStorageManager
Writes fully a unit.
writeUnit(int, UnitAddress, byte[], int) - Method in class storage.UnitsStorageManager
Writes fully a unit.
writeUnit(int, int, long, int, int, byte[], int) - Method in class storage.UnitsStorageManager
Writes partially a unit starting from an offset and writing a specific length of bytes.
writeUnit(int, UnitAddress, int, int, byte[], int) - Method in class storage.UnitsStorageManager
Writes partially a unit starting from an offset and writing a specific length of bytes.
writeUnit(long, int, int, byte[], int) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Writes partially a unit starting from an offset and writing a specific length of bytes.
writeUnit(long, byte[], int) - Method in class storage.advancedStorage.AdvancedStorageManager.Segment.Space
Writes fully a unit.

A B C D E F G H I L M N O P R S T U W