Interface DatabaseOverviewMBean

    • Method Detail

      • getDatabaseName

        java.lang.String getDatabaseName()
        Returns:
        the database name
      • getDatabaseURL

        java.lang.String getDatabaseURL()
        Returns:
        the URL of the database
      • getDatabaseUser

        java.lang.String getDatabaseUser()
        Returns:
        the database user
      • getDatabaseVersion

        java.lang.String getDatabaseVersion()
        Returns:
        the database version
      • getDriverVersion

        java.lang.String getDriverVersion()
        Returns:
        the database driver version
      • getID

        java.lang.String getID()
        Returns:
        the ID of the current data source
      • getJNDIName

        java.lang.String getJNDIName()
        Returns:
        the JNDI name
      • getLoginTimeout

        java.lang.Integer getLoginTimeout()
        see CommonDataSource.getLoginTimeout()
      • getMaxAllowedPhysicalOpen

        int getMaxAllowedPhysicalOpen()
        Returns:
        the maximum number of objects that can be allocated by the pool
      • getMaxInUse

        int getMaxInUse()
        Returns:
        the maximum number of the 'in use' connection
      • getMaxPhysicalOpen

        int getMaxPhysicalOpen()
        Returns:
        the maximum number of physical SQL connections.
      • getMaxPreparedParameterCount

        int getMaxPreparedParameterCount()
        Returns:
        the maximum allowed number of parameters within one prepared statement; -1 if no limit exists
      • getMillisWaitedForConnection

        long getMillisWaitedForConnection()
        Returns:
        the time in milliseconds how long it took to get a connection from the pool
      • getNumInUse

        int getNumInUse()
        Returns:
        the number of instances currently borrowed from the pool.
      • getNumPhysicalOpen

        int getNumPhysicalOpen()
        Returns:
        number of currently open JDBC connections.
      • getSchemaName

        java.lang.String getSchemaName()
        Returns:
        the schema name of the database
      • isCanConnectToDataSource

        boolean isCanConnectToDataSource()
        Returns:
        false if a connection the pool is not possible.
      • getTablePrefix

        java.lang.String getTablePrefix()
        Returns:
        the table prefix for all tables
      • isReadOnly

        boolean isReadOnly()
        Returns:
        true if the datasoure is read-only
      • isActive

        boolean isActive()
        Returns:
        true if the current data source is active.
      • getAllDataSourceIDs

        java.util.Set<java.lang.String> getAllDataSourceIDs()
        Returns:
        a list with all available data source IDs for the current tenant
      • getConnections

        long getConnections()
        Returns:
        the total number of connections so far. Reset with resetStats()