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.
|
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).
|
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).
|
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?
|
String |
listSessions()
List sessions, including the queries that are in
progress, and locked tables.
|
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.
|
boolean isExclusive()
boolean isReadOnly()
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()
String getVersion()
int getTraceLevel()
void setTraceLevel(int level)
level
- the new valueString listSettings()
String listSessions()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.