|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface DataHandler
A data handler contains a number of callback methods. The most important implementing class is a database.
| Method Summary | |
|---|---|
void |
checkPowerOff()
Check if the simulated power failure occurred. |
void |
checkWritingAllowed()
Check if writing is allowed. |
void |
freeUpDiskSpace()
Free up disk space if possible. |
java.lang.String |
getDatabasePath()
Get the database path. |
java.lang.String |
getLobCompressionAlgorithm(int type)
Get the compression algorithm used for large objects. |
java.sql.Connection |
getLobConnection()
Get a database connection to be used for LOB access. |
SmallLRUCache<java.lang.String,java.lang.String[]> |
getLobFileListCache()
Get the lob file list cache if it is used. |
LobStorage |
getLobStorage()
Get the lob storage mechanism to use. |
java.lang.Object |
getLobSyncObject()
Get the synchronization object for lob operations. |
int |
getMaxLengthInplaceLob()
Get the maximum length of a in-place large object |
TempFileDeleter |
getTempFileDeleter()
Get the temp file deleter mechanism. |
FileStore |
openFile(java.lang.String name,
java.lang.String mode,
boolean mustExist)
Open a file at the given location. |
| Method Detail |
|---|
java.lang.String getDatabasePath()
FileStore openFile(java.lang.String name,
java.lang.String mode,
boolean mustExist)
name - the file namemode - the modemustExist - whether the file must already exist
void checkPowerOff()
SQLException - if the simulated power failure occurredvoid checkWritingAllowed()
SQLException - if it is not allowedvoid freeUpDiskSpace()
SQLException - if no more space could be freedint getMaxLengthInplaceLob()
java.lang.String getLobCompressionAlgorithm(int type)
type - the data type (CLOB or BLOB)
TempFileDeleter getTempFileDeleter()
java.lang.Object getLobSyncObject()
SmallLRUCache<java.lang.String,java.lang.String[]> getLobFileListCache()
LobStorage getLobStorage()
java.sql.Connection getLobConnection()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||