Interface DataSourceService

    • Method Detail

      • checkMasterWritable

        boolean checkMasterWritable()
        check master db
        Returns:
        is master
      • getJdbcTemplate

        org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate()
        get jdbc template
        Returns:
        JdbcTemplate
      • getTransactionTemplate

        org.springframework.transaction.support.TransactionTemplate getTransactionTemplate()
        get transaction template
        Returns:
        TransactionTemplate
      • getCurrentDBUrl

        String getCurrentDBUrl()
        get current db url
        Returns:
      • getHealth

        String getHealth()
        get heath
        Returns:
        heath info