Class JdbcMachineIdInitializer

java.lang.Object
me.ahoo.cosid.jdbc.JdbcMachineIdInitializer

public class JdbcMachineIdInitializer extends Object
Jdbc MachineId Initializer.
  • Constructor Details

    • JdbcMachineIdInitializer

      public JdbcMachineIdInitializer(DataSource dataSource)
    • JdbcMachineIdInitializer

      public JdbcMachineIdInitializer(DataSource dataSource, String initCosIdMachineTableSql, String initNamespaceIdxSql, String initInstanceIdIdxSql)
  • Method Details

    • initCosIdMachineTable

      public void initCosIdMachineTable() throws SQLException
      Throws:
      SQLException
    • tryInitCosIdMachineTable

      public boolean tryInitCosIdMachineTable()