Potential Timeouts in a Transactional Cache
Why Do Some Threads Regularly Time Out and Throw an Exception?
In transactional caches, write locks are in force whenever an element is updated, deleted, or added. With concurrent access, these locks cause some threads to block and appear to deadlock. Eventually the deadlocked threads time out (and throw an exception) to avoid being stuck in a deadlock condition.