![]() |
Quadcap Embeddable Database |
Inheritance diagram for com.quadcap.sql.file.FileRandomAccess:

Definition at line 49 of file FileRandomAccess.java.
Public Member Functions | |
| FileRandomAccess (RandomAccessFile ra, long maxSize) | |
| long | size () |
| Return the size of the managed region. | |
| void | resize (long newSize) throws IOException |
| Resize the managed region. | |
| void | write (long p, byte[] b, int offset, int len) throws IOException |
| void | read (long p, byte[] b, int offset, int len) throws IOException |
Read len bytes from location pos of the region into the buffer buf, starting at offset. | |
| void | close () throws IOException |
| Finalization... | |
| void | flush () throws IOException |
Package Functions | |
| final void | checkCapacity (long t) throws IOException |
Package Attributes | |
| long | pos |
| long | maxSize |
| RandomAccessFile | ra |
|
||||||||||||
|
Definition at line 54 of file FileRandomAccess.java. |
|
|
Definition at line 122 of file FileRandomAccess.java. References com.quadcap.sql.file.FileRandomAccess.checkCapacity(), com.quadcap.sql.file.FileRandomAccess.maxSize, and com.quadcap.sql.file.FileRandomAccess.ra. Referenced by com.quadcap.sql.file.FileRandomAccess.checkCapacity(), and com.quadcap.sql.file.FileRandomAccess.write(). |
|
|
Finalization...
Implements com.quadcap.sql.file.RandomAccess. Definition at line 111 of file FileRandomAccess.java. References com.quadcap.sql.file.FileRandomAccess.ra. Referenced by com.quadcap.sql.file.BlockStore.close(). |
|
|
Implements com.quadcap.sql.file.RandomAccess. Definition at line 115 of file FileRandomAccess.java. References com.quadcap.sql.file.FileRandomAccess.ra. Referenced by com.quadcap.sql.file.BlockStore.flush(). |
|
||||||||||||||||||||
|
Read
Implements com.quadcap.sql.file.RandomAccess. Definition at line 97 of file FileRandomAccess.java. References com.quadcap.sql.file.FileRandomAccess.pos, com.quadcap.sql.file.FileRandomAccess.ra, and com.quadcap.sql.file.FileRandomAccess.read(). Referenced by com.quadcap.sql.file.FileRandomAccess.read(), com.quadcap.sql.file.BlockStore.read(), com.quadcap.sql.file.BlockStore.readHeader(), and com.quadcap.sql.file.EncryptedBlockStore.setKey(). |
|
|
Resize the managed region.
Implements com.quadcap.sql.file.RandomAccess. Definition at line 73 of file FileRandomAccess.java. References com.quadcap.sql.file.FileRandomAccess.ra, and com.quadcap.sql.file.FileRandomAccess.resize(). Referenced by com.quadcap.sql.file.FileRandomAccess.resize(), and com.quadcap.sql.file.BlockStore.setLength(). |
|
|
Return the size of the managed region.
Implements com.quadcap.sql.file.RandomAccess. Definition at line 62 of file FileRandomAccess.java. References com.quadcap.sql.file.FileRandomAccess.ra. Referenced by com.quadcap.sql.file.BlockStore.write(). |
|
||||||||||||||||||||
|
|
Definition at line 51 of file FileRandomAccess.java. Referenced by com.quadcap.sql.file.FileRandomAccess.checkCapacity(). |
|
|
Definition at line 50 of file FileRandomAccess.java. Referenced by com.quadcap.sql.file.FileRandomAccess.read(), and com.quadcap.sql.file.FileRandomAccess.write(). |
|