| Modifier and Type | Field and Description |
|---|---|
| private final Database | database
Database. |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | getCacheSizeMax()
Implements org. The maximum cache size in KB. |
| public long | getFileReadCount()
Implements org. The file read count since the database was opened. |
| public long | |
| public long | getFileWriteCount()
Implements org. The number of write operations since the database was opened. |
| public String | getMode()
Implements org. The database compatibility mode (REGULAR if no compatibility mode is used). |
| private static ObjectName | Returns: a new ObjectName instancename of the MBean name, String the path path)Returns a JMX new ObjectName instance. |
| public int | getTraceLevel()
Implements org. The trace level (0 disabled, 1 error, 2 info, 3 debug). |
| public String | |
| public boolean | isExclusive()
Implements org. Is the database open in exclusive mode? |
| public boolean | |
| public String | listSessions()
Implements org. List sessions, including the queries that are in progress, and locked tables. |
| public String | |
| public static void | registerMBean(ConnectionInfo
connection info connectionInfo, Database database database)Registers an MBean for the database. |
| public void | setCacheSizeMax(int
the cache size in KB. kb)Implements org. Change the maximum size. |
| public void | setTraceLevel(int
the new value level)Implements org. Set the trace level. |
| public static void | unregisterMBean(String
database name name)Unregisters the MBean for the database if one is registered. |
| database | back to summary |
|---|---|
| private final Database database Database. | |
| MBEANS | back to summary |
|---|---|
| private static final Map<String, ObjectName> MBEANS | |
| DatabaseInfo | back to summary |
|---|---|
| private DatabaseInfo(Database database) | |
| getCacheSize | back to summary |
|---|---|
| public int getCacheSize() Implements org. Doc from org. The current cache size in KB.
| |
| getCacheSizeMax | back to summary |
|---|---|
| public int getCacheSizeMax() Implements org. Doc from org. The maximum cache size in KB.
| |
| getFileReadCount | back to summary |
|---|---|
| public long getFileReadCount() Implements org. Doc from org. The file read count since the database was opened.
| |
| getFileSize | back to summary |
|---|---|
| public long getFileSize() Implements org. Doc from org. The database file size in KB.
| |
| getFileWriteCount | back to summary |
|---|---|
| public long getFileWriteCount() Implements org. Doc from org. The number of write operations since the database was opened.
| |
| getMode | back to summary |
|---|---|
| public String getMode() Implements org. Doc from org. The database compatibility mode (REGULAR if no compatibility mode is used). | |
| getObjectName | back to summary |
|---|---|
| private static ObjectName getObjectName(String name, String path) throws JMException Returns a JMX new ObjectName instance.
| |
| getTraceLevel | back to summary |
|---|---|
| public int getTraceLevel() Implements org. Doc from org. The trace level (0 disabled, 1 error, 2 info, 3 debug).
| |
| getVersion | back to summary |
|---|---|
| public String getVersion() Implements org. Doc from org. The database version. | |
| isExclusive | back to summary |
|---|---|
| public boolean isExclusive() Implements org. Doc from org. Is the database open in exclusive mode?
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly() Implements org. Doc from org. Is the database read-only?
| |
| listSessions | back to summary |
|---|---|
| public String listSessions() Implements org. Doc from org. List sessions, including the queries that are in progress, and locked tables. | |
| listSettings | back to summary |
|---|---|
| public String listSettings() Implements org. Doc from org. List the database settings. | |
| registerMBean | back to summary |
|---|---|
| public static void registerMBean(ConnectionInfo connectionInfo, Database database) throws JMException Registers an MBean for the database.
| |
| setCacheSizeMax | back to summary |
|---|---|
| public void setCacheSizeMax(int kb) Implements org. Doc from org. Change the maximum size.
| |
| setTraceLevel | back to summary |
|---|---|
| public void setTraceLevel(int level) Implements org. Doc from org. Set the trace level.
| |
| unregisterMBean | back to summary |
|---|---|
| public static void unregisterMBean(String name) throws Exception Unregisters the MBean for the database if one is registered.
| |