Class SingletonCacheFactoryBuilder

java.lang.Object
com.tangosol.net.ScopedCacheFactoryBuilder
com.tangosol.net.SingletonCacheFactoryBuilder
All Implemented Interfaces:
CacheFactoryBuilder, SessionProvider, Comparable<SessionProvider>

public class SingletonCacheFactoryBuilder extends ScopedCacheFactoryBuilder
Implementation of CacheFactoryBuilder that maintains a single ConfigurableCacheFactory instance regardless of the requesting ClassLoader if a URI is not provided. This builder preserves behavior prior to Coherence 3.5.1.

As of Coherence 3.7, this implementation no longer provides various "validation strategies". The SingletonCacheFactoryBuilder is functionally equivalent to the pre 3.7 "compatibility" mode. For more advanced usage it is recommended to configure the ScopedCacheFactoryBuilder or, in rare cases, configure a custom ScopedCacheFactoryBuilder extension.

Since:
Coherence 3.5.1
Author:
rhl 2009.07.14, pp 2011.01.20