| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final BitMap | |
| pack-priv byte[] | |
| pack-priv HsqlByteArrayOutputStream | |
| pack-priv RandomAccessInterface | |
| private static final int | |
| pack-priv final EventLogInterface | |
| pack-priv final long | |
| pack-priv final int | |
| pack-priv final String | |
| pack-priv long | |
| pack-priv final RandomAccessInterface | |
| pack-priv long | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | RAShadowFile(EventLogInterface logger, RandomAccessInterface source, String pathName, long maxSize, int pageSize)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv int | |
| private int | |
| public InputStreamInterface | |
| public long | |
| private static RandomAccessInterface | |
| private void | |
| public static void | restoreFile(Database database, String sourceName, String destName)
todo - take account of incomplete addition of block due to lack of disk |
| public void |
| bitMap | back to summary |
|---|---|
| pack-priv final BitMap bitMap | |
| buffer | back to summary |
|---|---|
| pack-priv byte[] buffer | |
| byteArrayOutputStream | back to summary |
|---|---|
| pack-priv HsqlByteArrayOutputStream byteArrayOutputStream | |
| dest | back to summary |
|---|---|
| pack-priv RandomAccessInterface dest | |
| headerSize | back to summary |
|---|---|
| private static final int headerSize | |
| logger | back to summary |
|---|---|
| pack-priv final EventLogInterface logger | |
| maxSize | back to summary |
|---|---|
| pack-priv final long maxSize | |
| pageSize | back to summary |
|---|---|
| pack-priv final int pageSize | |
| pathName | back to summary |
|---|---|
| pack-priv final String pathName | |
| savedLength | back to summary |
|---|---|
| pack-priv long savedLength | |
| source | back to summary |
|---|---|
| pack-priv final RandomAccessInterface source | |
| synchLength | back to summary |
|---|---|
| pack-priv long synchLength | |
| zeroPageSet | back to summary |
|---|---|
| pack-priv boolean zeroPageSet | |
| RAShadowFile | back to summary |
|---|---|
| pack-priv RAShadowFile(EventLogInterface logger, RandomAccessInterface source, String pathName, long maxSize, int pageSize) | |
| close | back to summary |
|---|---|
| pack-priv void close() throws IOException Called externally after a series of copy() calls. Called internally after a restore or when error in writing | |
| copy | back to summary |
|---|---|
| pack-priv int copy(long fileOffset, int size) throws IOException | |
| copy | back to summary |
|---|---|
| private int copy(int pageOffset) throws IOException | |
| getInputStream | back to summary |
|---|---|
| public InputStreamInterface getInputStream() | |
| getSavedLength | back to summary |
|---|---|
| public long getSavedLength() | |
| getStorage | back to summary |
|---|---|
| private static RandomAccessInterface getStorage(Database database, String pathName, String openMode) throws IOException | |
| open | back to summary |
|---|---|
| private void open() throws IOException | |
| restoreFile | back to summary |
|---|---|
| public static void restoreFile(Database database, String sourceName, String destName) throws IOException todo - take account of incomplete addition of block due to lack of disk | |
| synch | back to summary |
|---|---|
| public void synch() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv long | |
| pack-priv boolean | |
| pack-priv FileInputStream | |
| pack-priv long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | |
| public long | |
| private void | |
| public int | |
| public int | |
| public int | |
| public void | |
| public long |
| fetchedSize | back to summary |
|---|---|
| pack-priv long fetchedSize | |
| initialised | back to summary |
|---|---|
| pack-priv boolean initialised | |
| is | back to summary |
|---|---|
| pack-priv FileInputStream is | |
| limitSize | back to summary |
|---|---|
| pack-priv long limitSize | |
| InputStreamShadow | back to summary |
|---|---|
| pack-priv InputStreamShadow() | |
| available | back to summary |
|---|---|
| public int available() Implements org. | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements org. | |
| getSizeLimit | back to summary |
|---|---|
| public long getSizeLimit() Implements org. Doc from org. Invariant. Number of characters in stream, including any already read. | |
| initialise | back to summary |
|---|---|
| private void initialise() | |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements org. | |
| read | back to summary |
|---|---|
| public int read(byte[] bytes) throws IOException Implements org. | |
| read | back to summary |
|---|---|
| public int read(byte[] bytes, int offset, int length) throws IOException Implements org. | |
| setSizeLimit | back to summary |
|---|---|
| public void setSizeLimit(long count) Implements org. | |
| skip | back to summary |
|---|---|
| public long skip(long count) Implements org. | |