|
All content with label cluster+singleton.
Related Labels:
heap
, failover
, coherence-web
, proxy
, production-environment
, listeners
, reliability
, availability
, c-w-archive
, mutex
, service
, sessions
, failback
, performance
, optimistic
, testing
, faq-coherence-web
, operating-system
, session-cache-config
,
mbeans
, replication
, local
, mutext
, hardware
, manageability
, faq-code-examples
, security
, events
, best-practices
, session-management
, servletcontext
, backing-map
, core-concept
, scalability
, network
, serviceability
, httpsessioncontext
, death-detection
, invocation
, example
, multicast
, faq-config
, member
, glossary
, federation
, distributed
, update-after-forums-move
, load-balancing
more »
( - cluster
, - singleton
)
How do I implement a Clustered Singleton?
(Coherence FAQ)
following code example demonstrates how to implement a clustered singleton. import com.tangosol.net.CacheFactory; import com.tangosol.net.NamedCache; / Singleton using cache to back it. (Commented out code is from a singleJVM traditional singleton pattern. New code supports stateless session EJB ...
|
|
|