Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Locking and Unlocking with a Distributed Cache.

647272Jul 2 2008 — edited Jul 22 2008
Would using a DistributedCache block a key if logically i do a cache.lock() before attempting to get/put and object into the cache?

If not - is there even a need to perform lock/unlock on a DistributedCache?

If there is a need to perform an lock/unlock - and the above example is not correct - how would you perform a lock/unlock on a DistributedCache?

I am asking this because according to this site: http://wiki.tangosol.com/display/COH33UG/Transactions,+Locks+and+Concurrency

it indicates that:
In a replicated cache, puts are blocked, but they are not blocked in a partitioned cache.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2008
Added on Jul 2 2008
15 comments
2,250 views