com.caucho.management.server
Interface DatabaseMXBean

All Superinterfaces:
ConnectionPoolMXBean, ManagedObjectMXBean
All Known Implementing Classes:
DatabaseAdmin

public interface DatabaseMXBean
extends ConnectionPoolMXBean

MBean API for the database connection pool.

 resin:type=Database,name=jdbc/resin,...
 


Method Summary
 JdbcDriverMXBean[] getDrivers()
          Returns the primary drivers.
 java.lang.String getUrl()
          Returns the primary URL for the database.
 boolean isSpy()
          Returns true for query spy mode, logged at "com.caucho.sql.spy" at the finer level.
 
Methods inherited from interface com.caucho.management.server.ConnectionPoolMXBean
clear, getConnectionActiveCount, getConnectionCount, getConnectionCountTotal, getConnectionCreateCount, getConnectionCreateCountTotal, getConnectionFailCountTotal, getConnectionIdleCount, getConnectionWaitTime, getLastFailTime, getMaxActiveTime, getMaxConnections, getMaxCreateConnections, getMaxIdleCount, getMaxIdleTime, getMaxOverflowConnections, getMaxPoolTime, getMinIdleCount, isLocalTransactionOptimization, isShareable
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getUrl

java.lang.String getUrl()
Returns the primary URL for the database.


isSpy

boolean isSpy()
Returns true for query spy mode, logged at "com.caucho.sql.spy" at the finer level.


getDrivers

JdbcDriverMXBean[] getDrivers()
Returns the primary drivers.