public interface DatabaseInfoMBean
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
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 |
setTraceLevel(int level)
Set the trace level.
|
boolean isExclusive()
boolean isReadOnly()
java.lang.String getMode()
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()