|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hsqldb.Cache org.hsqldb.DataFileCache
Field Summary | |
protected int |
cachedRowPadding
|
protected org.hsqldb.HsqlDatabaseProperties |
dbProps
|
protected Database |
dDatabase
|
protected int |
iFreePos
|
protected org.hsqldb.ScaledRAFile |
rFile
|
protected RowOutputInterface |
rowOut
|
protected int |
rowStoreExtra
|
protected String |
sName
|
protected boolean |
storeOnInsert
|
Method Summary | |
protected void |
init()
Structural initialisations take place here. |
protected void |
initBuffers()
|
protected void |
initParams()
initial external parameters are set here. |
protected CachedRow |
makeRow(int pos,
Table t)
Constructs a new Row for the specified table, using row data read at the specified position (pos) in this object's database file. |
protected CachedRow |
remove(CachedRow r)
Removes a Row from this Cache object. |
protected void |
remove(Table t)
Removes all Row objects for a table from this Cache object. |
protected void |
saveAll()
Writes out all modified cached Rows. |
protected void |
saveRow(CachedRow r)
Writes out the specified Row. |
protected void |
setStorageSize(CachedRow r)
Calculates the number of bytes required to store a Row in this object's database file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Database dDatabase
protected org.hsqldb.HsqlDatabaseProperties dbProps
protected String sName
protected boolean storeOnInsert
protected int cachedRowPadding
protected int rowStoreExtra
protected org.hsqldb.ScaledRAFile rFile
protected int iFreePos
protected RowOutputInterface rowOut
Method Detail |
protected CachedRow makeRow(int pos, Table t) throws HsqlException
HsqlException
protected void saveRow(CachedRow r) throws IOException, HsqlException
IOException
HsqlException
protected void setStorageSize(CachedRow r) throws HsqlException
HsqlException
protected void initParams() throws HsqlException
HsqlException
protected void init()
protected void initBuffers() throws HsqlException
HsqlException
protected void remove(Table t) throws HsqlException
HsqlException
protected CachedRow remove(CachedRow r) throws HsqlException
HsqlException
protected void saveAll() throws HsqlException
HsqlException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |