rhq-project/rhq — pull request #57 by metlos (2014-06-17 19:14:28+00:00)
Title:  [BZ 1071330] Try to avoid timeouts on retrieving system settings

This is a bit of a shot in the dark to reduce the possibility of
timeouts when reading system settings in the server under load.

The concurrency on the bean has been changed from the default
container managed with a write lock on each method to bean managed
with a single critical section in the cache loading and writing methods.

Also, the deobfuscation of the password fields happens only on the
cache reload and only if the settings were changed.

All this to minimize the contention on the SystemManagerBean and to
speed up the retrieval of the settings as much as possible.