Examples of collectionProcessComplete()


Examples of org.apache.uima.analysis_engine.AnalysisEngine.collectionProcessComplete()

        aae.process(cas);
        cas.reset();
      }

      // Signal end of processing
      aae.collectionProcessComplete();
    } finally {
      // Destroy
      aae.destroy();
    }
  }
View Full Code Here

Examples of org.apache.uima.analysis_engine.asb.impl.FlowControllerContainer.collectionProcessComplete()

        iter.next().collectionProcessComplete();
      }
      //  Call CPC on the Flow Controller
      FlowControllerContainer fcc = _getASB().getFlowControllerContainer();
      if ( fcc != null ) {
        fcc.collectionProcessComplete();
      }
    } finally {
      exitCollectionProcessComplete();
    }
  }
View Full Code Here

Examples of org.apache.uima.analysis_engine.asb.impl.FlowControllerContainer.collectionProcessComplete()

        iter.next().collectionProcessComplete();
      }
      //  Call CPC on the Flow Controller
      FlowControllerContainer fcc = _getASB().getFlowControllerContainer();
      if ( fcc != null ) {
        fcc.collectionProcessComplete();
      }
    } finally {
      exitCollectionProcessComplete();
    }
  }
View Full Code Here

Examples of org.apache.uima.analysis_engine.asb.impl.FlowControllerContainer.collectionProcessComplete()

        iter.next().collectionProcessComplete();
      }
      //  Call CPC on the Flow Controller
      FlowControllerContainer fcc = _getASB().getFlowControllerContainer();
      if ( fcc != null ) {
        fcc.collectionProcessComplete();
      }
    } finally {
      exitCollectionProcessComplete();
    }
  }
View Full Code Here

Examples of org.apache.uima.collection.base_cpm.BaseStatusCallbackListener.collectionProcessComplete()

    ArrayList statusCbL = cpEngine.getCallbackListeners();
    // Notify all listeners that the CPM has finished processing
    for (int j = 0; j < statusCbL.size(); j++) {
      BaseStatusCallbackListener st = (BaseStatusCallbackListener) statusCbL.get(j);
      if (!killed) {
        st.collectionProcessComplete();
      } else {
        st.aborted();
      }
    }
  }
View Full Code Here

Examples of org.apache.uima.collection.base_cpm.BaseStatusCallbackListener.collectionProcessComplete()

    // Notify all listeners that the CPM has finished processing
    for (int j = 0; j < statusCbL.size(); j++) {
      BaseStatusCallbackListener st = (BaseStatusCallbackListener) statusCbL.get(j);
      if ( st != null ) {
        if (!killed) {
          st.collectionProcessComplete();
        } else {
          st.aborted();
        }
      }
    }
View Full Code Here

Examples of org.apache.uima.collection.base_cpm.BaseStatusCallbackListener.collectionProcessComplete()

    // Notify all listeners that the CPM has finished processing
    for (int j = 0; j < statusCbL.size(); j++) {
      BaseStatusCallbackListener st = (BaseStatusCallbackListener) statusCbL.get(j);
      if ( st != null ) {
        if (!killed) {
          st.collectionProcessComplete();
        } else {
          st.aborted();
        }
      }
    }
View Full Code Here

Examples of org.apache.uima.collection.base_cpm.BaseStatusCallbackListener.collectionProcessComplete()

    ArrayList statusCbL = cpEngine.getCallbackListeners();
    // Notify all listeners that the CPM has finished processing
    for (int j = 0; j < statusCbL.size(); j++) {
      BaseStatusCallbackListener st = (BaseStatusCallbackListener) statusCbL.get(j);
      if (!killed) {
        st.collectionProcessComplete();
      } else {
        st.aborted();
      }
    }
  }
View Full Code Here

Examples of org.apache.uima.collection.base_cpm.CasProcessor.collectionProcessComplete()

                    "process", CPMUtils.CPM_LOG_RESOURCE_BUNDLE,
                    "UIMA_CPM_destroy_processor__FINEST",
                    new Object[] { Thread.currentThread().getName(), getName() });
          }
          ProcessTrace pt = new ProcessTrace_impl();
          cp.collectionProcessComplete(pt);
          if (cp instanceof Resource) {
            ((Resource) (cp)).destroy();
          }
        }
      }
View Full Code Here

Examples of org.apache.uima.collection.base_cpm.CasProcessor.collectionProcessComplete()

                    "process", CPMUtils.CPM_LOG_RESOURCE_BUNDLE,
                    "UIMA_CPM_destroy_processor__FINEST",
                    new Object[] { Thread.currentThread().getName(), getName() });
          }
          ProcessTrace pt = new ProcessTrace_impl();
          cp.collectionProcessComplete(pt);
          if (cp instanceof Resource) {
            ((Resource) (cp)).destroy();
          }
        }
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.