Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] threadflow

Hi,

I'd like to track cflow based state across threads -- the application
is SEDA style, and an extra complication is it uses thread pools, so
threads are not created directly (so InheritableThreadLocal doesn't
quite work). Is it possible to access the cflow based state -- eg
MyAspect.currentThreadCflow() a la .aspectOf(), so that I can clone it
and attach it to another thread (for some unit-of-work). I think the
answer is currently no (in the public API anyway), but is there some
other way? eg if cflow is implemented using a ThreadLocal, can I grab
the value directly?

I saw a number of questions from a few years ago nothing more
recently.  Thoughts?

Ken.


Back to the top