DatabaseInfo
The MBean implementation.
Methods
static void
registerMBean
(ConnectionInfo connectionInfo, Database database)
Registers an MBean for the database.
static void
registerMBean
(ConnectionInfo connectionInfo, Database database) throws JMException
Registers an MBean for the database.
Parameters:
connectionInfo - connection info
database - database
static void
unregisterMBean
(String name)
Unregisters the MBean for the database if one is registered.
static void
unregisterMBean
(String name) throws Exception
Unregisters the MBean for the database if one is registered.
Parameters:
name - database name
int
getCacheSize
()
int
getCacheSize
()
int
getCacheSizeMax
()
int
getCacheSizeMax
()
long
getFileReadCount
()
long
getFileReadCount
()
long
getFileSize
()
long
getFileSize
()
long
getFileWriteCount
()
long
getFileWriteCount
()
long
getFileWriteCountTotal
()
long
getFileWriteCountTotal
()
int
getLogMode
()
int
getLogMode
()
String
getMode
()
String
getMode
()
int
getTraceLevel
()
int
getTraceLevel
()
String
getVersion
()
String
getVersion
()
boolean
isExclusive
()
boolean
isExclusive
()
boolean
isMultiThreaded
()
boolean
isMultiThreaded
()
boolean
isMvcc
()
boolean
isMvcc
()
boolean
isReadOnly
()
boolean
isReadOnly
()
String
listSessions
()
String
listSessions
()
String
listSettings
()
String
listSettings
()
void
setCacheSizeMax
(int kb)
void
setCacheSizeMax
(int kb)
void
setLogMode
(int value)
void
setLogMode
(int value)
void
setTraceLevel
(int level)
void
setTraceLevel
(int level)