public void finalize(ProcedureWALFormat.Loader loader) throws IOException { // notify the loader about the max proc ID loader.setMaxProcId(maxProcId); // fetch the procedure ready to run. ProcedureIterator procIter = procedureMap.fetchReady(); if (procIter != null) loader.load(procIter); // remaining procedures have missing link or dependencies // consider them as corrupted, manual fix is probably required. procIter = procedureMap.fetchAll(); if (procIter != null) loader.handleCorrupted(procIter); }
public void finish() throws IOException { // notify the loader about the max proc ID loader.setMaxProcId(maxProcId); // build the procedure execution tree. When building we will verify that whether a procedure is // valid. WALProcedureTree tree = WALProcedureTree.build(procedureMap.getProcedures()); loader.load(tree.getValidProcs()); loader.handleCorrupted(tree.getCorruptedProcs()); }
public void finish() throws IOException { // notify the loader about the max proc ID loader.setMaxProcId(maxProcId); // fetch the procedure ready to run. ProcedureIterator procIter = procedureMap.fetchReady(); if (procIter != null) loader.load(procIter); // remaining procedures have missing link or dependencies // consider them as corrupted, manual fix is probably required. procIter = procedureMap.fetchAll(); if (procIter != null) loader.handleCorrupted(procIter); }
public void finish() throws IOException { // notify the loader about the max proc ID loader.setMaxProcId(maxProcId); // build the procedure execution tree. When building we will verify that whether a procedure is // valid. WALProcedureTree tree = WALProcedureTree.build(procedureMap.getProcedures()); loader.load(tree.getValidProcs()); loader.handleCorrupted(tree.getCorruptedProcs()); }