I'd prefer ignoring them instead of throwing exceptions - couse user can
use different cache configurations inside one tx and user can create some
logic depending on cached values in any cache.

2017-03-28 13:08 GMT+03:00 Yakov Zhdanov <[email protected]>:

> As far as I know operations on atomic caches are applied immediately
> dishonoring any tx context.
>
> I would suggest that atomic cache update operation called from active tx
> throws illegal state exception, unless user intentionally permits this
> update by calling atomicCache.withAllowInTx() (similar to withSkipStore()).
>
> Thoughts?
>
> --Yakov
>

Reply via email to