@Override
  public void doInit() {
    LOG.info("MdbMigrationEngine begin to do init!!");

    if (storeEngine == null) {
      throw new UnsupportedOperationException("store engine was not set!!");
    }

    if (storeEngine instanceof MdbStoreEngine) {
      LOG.info("detect the MdbStoreEngine in MdbMigrationEngine init!!");
    } else {
      throw new UnsupportedOperationException("store engine was set wrong in MdbMigrationEngine!!");
    }

    MdbStoreEngine mdbStoreEngine = (MdbStoreEngine) storeEngine;

    if (mdbStoreEngine.getMdbManager() == null) {
      throw new UnsupportedOperationException(
          "MdbManager is null in mdbStoreEngine when do MdbMigrationEngine init");
    }

    if (mdbStoreEngine.getMdbManager() instanceof MdbManager) {
      mdbManager = (MdbManager) mdbStoreEngine.getMdbManager();
      LOG.info("MdbMigrationEngine init successfully!!");
    } else {
      throw new UnsupportedOperationException(
          "MdbManager is not right MdbManagerImpl in mdbStoreEngine when do MdbMigrationEngine init");
    }
  }
 public void stopMdbStoreEnginePeriodsExpire() {
   ((MdbStoreEngine) storeEngine).stopPeriodsExpire();
 }
 public void setDataTransCallBackList(List<TransDataCallBack> callbacks) {
   ((MdbStoreEngine) storeEngine).setDataTransCallBackList(callbacks);
 }