Annotator thread semantics?

I'd like to cache in fields of my Annotator. Is it guaranteed that one
Annotator instance is used per thread? How about per annotation run?

1 comment

For a language you control caching policy in getAnnotator() method - if you
return the same instance, than you can assume idea won't clone it=).
Eugene.


"Keith Lea" <keith@cs.oswego.edu> wrote in message
news:dnkisu$u31$1@is.intellij.net...

I'd like to cache in fields of my Annotator. Is it guaranteed that one
Annotator instance is used per thread? How about per annotation run?



0

Please sign in to leave a comment.