private void resetRelay(TungstenProperties serviceProps,Map<String,String> progress){
  String relayLogDirName=serviceProps.getString("replicator.extractor.dbms.relayLogDir");
  if (relayLogDirName != null) {
    File relayLogDir=new File(relayLogDirName);
    if (!removeDirectory(relayLogDir,progress)) {
      logger.error(String.format("Could not remove the relay log directory %s",relayLogDirName));
    }
  }
}

private void resetRelay ( TungstenProperties serviceProps , Map < String , String > progress ) { String relayLogDirName = serviceProps . getString ( "replicator.extractor.dbms.relayLogDir" ) ; if ( relayLogDirName != null ) { File relayLogDir = new File ( relayLogDirName ) ; if ( ! removeDirectory ( relayLogDir , progress ) ) { logger . error ( String . format ( "Could not remove the relay log directory %s" , relayLogDirName ) ) ; } } }
resets relay log information if it exists .
