JBoss.org Community Documentation

10.1. Concurrent Access

JBoss Cache is a thread safe caching API, and uses its own efficient mechanisms of controlling concurrent access. It uses a pessimistic locking scheme by default for this purpose. Optimistic locking may alternatively be used, and is discussed later.



[7] Because of this requirement, you must always have a transaction manager configured when using optimistic locking.

[8] See JBCACHE-1155