|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatabaseInfoMBean
Information and management operations for the given database.
Method Summary | |
---|---|
int |
getCacheSize()
The current cache size in KB. |
int |
getCacheSizeMax()
The maximum cache size in KB. |
long |
getFileReadCount()
The file read count since the database was opened. |
long |
getFileSize()
The database file size in KB. |
long |
getFileWriteCount()
The number of write operations since the database was opened. |
long |
getFileWriteCountTotal()
The number of write operations since the database was created. |
int |
getLogMode()
The transaction log mode (0 disabled, 1 without sync, 2 enabled). |
java.lang.String |
getMode()
The database compatibility mode (REGULAR if no compatibility mode is used). |
int |
getTraceLevel()
The trace level (0 disabled, 1 error, 2 info, 3 debug). |
java.lang.String |
getVersion()
The database version. |
boolean |
isExclusive()
Is the database open in exclusive mode? |
boolean |
isMultiThreaded()
Is multi-threading enabled? |
boolean |
isMvcc()
Is MVCC (multi version concurrency) enabled? |
boolean |
isReadOnly()
Is the database read-only? |
java.lang.String |
listSessions()
List sessions, including the queries that are in progress, and locked tables. |
java.lang.String |
listSettings()
List the database settings. |
void |
setCacheSizeMax(int kb)
Change the maximum size. |
void |
setLogMode(int value)
Set the transaction log mode. |
void |
setTraceLevel(int level)
Set the trace level. |
Method Detail |
---|
boolean isExclusive()
boolean isReadOnly()
java.lang.String getMode()
boolean isMultiThreaded()
boolean isMvcc()
int getLogMode()
void setLogMode(int value)
value
- the new log modelong getFileWriteCountTotal()
long getFileWriteCount()
long getFileReadCount()
long getFileSize()
int getCacheSizeMax()
void setCacheSizeMax(int kb)
kb
- the cache size in KB.int getCacheSize()
java.lang.String getVersion()
int getTraceLevel()
void setTraceLevel(int level)
level
- the new valuejava.lang.String listSettings()
java.lang.String listSessions()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |