AddressSpace library v1.0 beta
A C D M N P R S T W

A

AddressSpace - class mmap.AddressSpace.
This class represents a virtual address space.
AddressSpace(String) - Constructor for class mmap.AddressSpace
Connect to an already existing address space.
AddressSpace(String, int) - Constructor for class mmap.AddressSpace
Connect to an already existing address space.

C

close() - Method in class mmap.AddressSpace
Close the address space.
createSpace(String) - Static method in class mmap.AddressSpace
Create a new empty swap space.
createSpace(String, String) - Static method in class mmap.AddressSpace
Create a new empty swap space.

D

dumpCache(String) - Method in class mmap.AddressSpace
Create a file image of the data cache in a human-readable format.

M

main(String[]) - Static method in class SwapTest
Just call it.

N

NotAlignedPointer - exception mmap.NotAlignedPointer.
This is the exception raised in case there is an improper data addressing inside the virtual memory module.
NotAlignedPointer(long) - Constructor for class mmap.NotAlignedPointer
 

P

position - Variable in class mmap.NotAlignedPointer
Referred position that raised the exception.

R

read(int) - Method in class mmap.AddressSpace
Read a byte value from the address space.
read(int, byte[]) - Method in class mmap.AddressSpace
Read a byte array from the address space.
read(int, byte[], int) - Method in class mmap.AddressSpace
Read a byte array from the address space until a certain amount of data is transferred.
read(int, byte[], int, int) - Method in class mmap.AddressSpace
Read a byte array from the address space starting from an offset until a certain amount of data is transferred.
readInt(int) - Method in class mmap.AddressSpace
Read an int value from the address space.
readLong(int) - Method in class mmap.AddressSpace
Read a long int value from the address space.
readShort(int) - Method in class mmap.AddressSpace
Read a short int value from the address space.

S

setCache(int) - Method in class mmap.AddressSpace
Set the cache size.
setTimer(int) - Method in class mmap.AddressSpace
Set timing for synchers.
shrink() - Method in class mmap.AddressSpace
Shrink the data file purging all the empty pages.
SwapTest - class SwapTest.
This class tests the swap module.
sync() - Method in class mmap.AddressSpace
Synchronize memory and disk images of cached pages.

T

trashPage(int, int) - Method in class mmap.AddressSpace
Destroy a page.

W

write(int, byte) - Method in class mmap.AddressSpace
Write a byte value inside the address space.
write(int, byte[]) - Method in class mmap.AddressSpace
Write a byte array inside the address space.
write(int, byte[], int) - Method in class mmap.AddressSpace
Write a byte array inside the address space until a certain amount of data is transferred.
write(int, byte[], int, int) - Method in class mmap.AddressSpace
Write a byte array inside the address space starting from an offset until a certain amount of data is transferred.
writeInt(int, int) - Method in class mmap.AddressSpace
Write an int value inside the address space.
writeLong(int, long) - Method in class mmap.AddressSpace
Write a long int value inside the address space.
writeShort(int, short) - Method in class mmap.AddressSpace
Write a short int value inside the address space.

A C D M N P R S T W
Help is irrilevant
You will be assimilated!

v1.0 beta by Dario Maggiorini