|
All content with label faq-code-examples+mutex.
Related Labels:
review
, expiry
, namedcache
, javabean
, synchronize
, coherence-cache-config
, cluster
, backing-map
, deployment
, cachestore
, extend
, hibernate
, expiration
, troubleshooting
, serialization
, cache
, size
, jmx
, invocation
,
partition
, example
, wan
, keys
, cache-size
, version
, mutext
, shutdown
, optimization
, singleton
, security
, compatible
more »
( - faq-code-examples
, - mutex
)
How do I create a cluster-wide named mutex?
(Coherence FAQ)
create a clusterwide, named mutex, simply lock a key in a cache with an infinite wait time. Note that a key can be locked even though the key does not actually exist in the cache. This example implements a nonrecursive mutex. String sMutexName = "myNamedMutex ...
|
|
|