/** * This constructs an optimizer with the disk cacn properties. * <p> * @param attributes * @param tableState We mark the table status as optimizing when this is happening. * @param dataSource access to the database */ public MySQLTableOptimizer( MySQLDiskCacheAttributes attributes, TableState tableState, DataSource dataSource ) { setTableName( attributes.getTableName() ); this.tableState = tableState; this.dataSource = dataSource; }
/** * This constructs an optimizer with the disk cacn properties. * <p> * @param attributes * @param tableState We mark the table status as optimizing when this is happening. * @param poolAccess access to the database */ public MySQLTableOptimizer( MySQLDiskCacheAttributes attributes, TableState tableState, JDBCDiskCachePoolAccess poolAccess ) { setTableName( attributes.getTableName() ); this.tableState = tableState; this.poolAccess = poolAccess; }