Core UIMA is a single-threaded framework. There are two multi-threaded deployment wrappers, UIMA-AS and the older CPE. Are you using one of these wrappers?
Eddie On Mon, Apr 30, 2012 at 2:01 PM, Shahim Essaid <[email protected]> wrote: > Hi All, > > I am trying to write a primitive analysis engine that checks, and > creates or updates a database schema based on the type system. I need > to synchronize the initialization of this component so that only one > instance of the component will do this task when there are multiple > instances being instantiated. > > What is the correct object to synchronize on? Is the type system > object the correct one and does it maintain its identity throughout a > JVM run? Is it a different object in the other aggregates even though > they use the same type system description? > > I need to block all other threads in the other instances of the > current component until the database is updated. I also need this > object to be specific to the current aggregate so that other > aggregates running in the same JVM can have their own synchronization > objects and database updates independent of each other. In other > words, I can't use a JVM wide object. > > Thank you, > Shahim
