Return-Path: Delivered-To: apmail-incubator-uima-user-archive@locus.apache.org Received: (qmail 64568 invoked from network); 20 Aug 2008 15:10:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Aug 2008 15:10:35 -0000 Received: (qmail 2309 invoked by uid 500); 20 Aug 2008 15:10:33 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 2287 invoked by uid 500); 20 Aug 2008 15:10:33 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 2276 invoked by uid 99); 20 Aug 2008 15:10:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 08:10:33 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [81.17.210.143] (HELO mail-gw-01.neofonie.de) (81.17.210.143) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 15:09:37 +0000 Received: from [172.27.27.76] (helo=perseus.exchange.neofonie.de) by mail-gw-01.neofonie.de with esmtp (Exim 4.63) (envelope-from ) id 1KVpJy-00058B-SM for uima-user@incubator.apache.org; Wed, 20 Aug 2008 17:10:02 +0200 Received: from [172.27.40.211] ([172.27.40.211]) by perseus.exchange.neofonie.de with Microsoft SMTPSVC(6.0.3790.1830); Wed, 20 Aug 2008 17:10:02 +0200 Message-ID: <48AC33CA.5090801@neofonie.de> Date: Wed, 20 Aug 2008 17:10:02 +0200 From: =?UTF-8?B?Q2hyaXN0b3BoIELDvHNjaGVy?= User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: uima-user@incubator.apache.org Subject: Is it possible to "manually" trigger batchProcessComplete? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 20 Aug 2008 15:10:02.0488 (UTC) FILETIME=[D1EB3780:01C902D6] X-Virus-Checked: Checked by ClamAV on apache.org Hi, I recently used the CasProcessors element to periodically flush the results of some of my processors results to a database. However, triggering the batchProcessComplete() method if the processor via the checkpoint seems only possible after a fixed number of documents (the batch=xxx attribute) configured at start time. I'm wondering if it is somehow possible to trigger this programatically. For example I would like to trigger the "batchProcessComplete" after certain documents (which I can already identify in the collection reader). Is there a way of telling the UIMA framework to do so? -- -------------------------------- Christoph Büscher