Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Combined percflow() and perthis()

There's a usecase I meet from time to time: have a percflow aspect that
stores context variables for an algorithm, but make it perthis, too.

An example: you have a tree, and you want to walk this tree. While
walking you need to store some information for each node (for example
some caching to speed calculation up). And you want to run this
algorithm from several threads, so mixxing in an inter-type field to
store this info is not an option.

The easy solution could come from a combined perthis+percflow aspect.

Have it bee bought up yet, is it reasonable?

bye,

- 101



Back to the top