Class ExtensibleConfigurableCacheFactory
- All Implemented Interfaces:
ConfigurableCacheFactory
It is strongly recommended that developers get a ConfigurableCacheFactory instance via CacheFactory.getCacheFactoryBuilder().getConfigurableCacheFactory(), rather than instantiate an ExtensibleConfigurableCacheFactory instance directly.
There are various ways of using this factory:
ExtensibleConfigurableCacheFactory.Dependencies deps = ExtensibleConfigurableCacheFactory.DependenciesHelper.newInstance("my-cache-config.xml"); ExtensibleConfigurableCacheFactory factory = new ExtensibleConfigurableCacheFactory(deps); ... ClassLoader loader = getClass().getClassLoader(); NamedCache cacheOne = factory.ensureCache("one", loader); NamedCache cacheTwo = factory.ensureCache("two", loader);Another option is using the static version of the "ensureCache" call:
ClassLoader loader = getClass().getClassLoader(); NamedCache cacheOne = CacheFactory.getCache("one", loader);which uses an instance of ConfigurableCacheFactory obtained by
CacheFactory.getConfigurableCacheFactory()
.- Since:
- Coherence 12.1.2
- Author:
- gg 2003.05.26, pfm 2012.12.19
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
TheExtensibleConfigurableCacheFactory.DefaultDependencies
is a simple implementation of theExtensibleConfigurableCacheFactory
ExtensibleConfigurableCacheFactory.Dependencies
interface.static interface
static class
TheExtensibleConfigurableCacheFactory.DependenciesHelper
provides helper method for constructingExtensibleConfigurableCacheFactory.Dependencies
implementations forExtensibleConfigurableCacheFactory
s.static class
The Manager class uses builders to create the required backing maps and provides client access to those maps.static class
The PartitionedBackingMapManager is used by PartitionAwareBackingMap(s) to lazily configure the enclosing PABM based on the configuration settings of the enclosed maps.Nested classes/interfaces inherited from class com.tangosol.util.Base
Base.LoggingWriter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the replaceable parameter representing a cache factory.static final String
The name of the replaceable parameter representing the cache name.static final String
The name of the replaceable parameter representing a cache reference.static final String
The name of the replaceable parameter representing the class loader.protected final com.tangosol.net.events.internal.ConfigurableCacheFactoryDispatcher
ConfigurableCacheFactoryDispatcher linked to this cache factory.protected final com.tangosol.net.internal.ScopedCacheReferenceStore
Store that holds cache references scoped by class loader and optionally, if configured, Subject.protected final com.tangosol.net.internal.ScopedReferenceStore
<NamedTopic> Store that holdsNamedTopic
references scoped by class loader and optionally, if configured, Subject.static final String
The default configuration file name.protected boolean
Indicates whether this factory has been activated.protected boolean
Indicates whether this factory has been disposed.Map used to hold references to services that are ensured by this factory where values are non-scoped service names.protected Set
<BackingMapManager> A Set of BackingMapManager instances registered by this factory.The mappings from scheme name to scheme type.static final String
The name of the replaceable parameter representing the backing map manager context.static final int
The custom class scheme.static final int
Deprecated.static final int
The distributed cache scheme.static final int
The external scheme.static final int
The paged-external scheme.static final int
The flash journal cache scheme.static final int
The invocation service scheme.static final int
The local cache scheme.static final int
The near cache scheme.static final int
The optimistic cache scheme.static final int
The overflow map scheme.static final int
The proxy service scheme.static final int
The ram journal cache scheme.static final int
The read write backing map scheme.static final String
The name of the replaceable parameter representing a scheme reference.static final int
The remote cache scheme.static final int
The remote invocation scheme.static final int
The replicated cache scheme.static final int
The transactional cache scheme.static final int
The unknown scheme type.static final int
The versioned backing map scheme.static final int
The versioned near cache scheme. -
Constructor Summary
ConstructorDescriptionConstructs anExtensibleConfigurableCacheFactory
using the specifiedExtensibleConfigurableCacheFactory.Dependencies
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
Activate prepares the factory to be used within a container and should be called before any other factory method.protected void
ThrowsIllegalStateException
if this factory has been disposed via invocation ofdispose()
.protected static void
checkPermission
(NamedCache cache) Check if the current user is allowed to "join" the cache.protected static void
checkPermission
(NamedCollection collection) Check if the current user is allowed to "join" to the collection.protected static void
checkPermission
(Service service, String sName) Check if the current user is allowed to "join" the data structure with the specified name.protected void
Performs final configuration of anExtensibleConfigurableCacheFactory
instance prior to it being used by Coherence.createParameterResolver
(ClassLoader loader, BackingMapManagerContext ctxBMM) Return the ParameterResolver that has been initialized with the built-in Coherence parameters.void
destroyCache
(NamedCache cache) Release and destroy this instance of NamedCache.void
destroyTopic
(NamedTopic<?> topic) Release and destroy this instance ofNamedTopic
.void
dispose()
Dispose of this factory.<K,
V> NamedCache <K, V> ensureCache
(String sCacheName, ClassLoader loader, NamedMap.Option... options) Ensure an cache for the given name, classloader and options.ensureService
(ServiceScheme scheme) Ensure the service for the specified scheme then start the service if it isn't running.ensureService
(String sServiceName) Ensure a service for the given name.<V> NamedTopic
<V> ensureTopic
(String sName, ClassLoader loader, NamedCollection.Option... options) Ensure an Object-based topic for the given name.Return theCacheConfig
that contains the configuration used by this factory.protected ClassLoader
Return the class loader used to load the configuration for this factory.Return theInterceptorRegistry
for this factory.<M extends ResourceMapping>
ParameterResolvergetParameterResolver
(String sResourceName, Class<M> clzResourceMapping, ClassLoader loader, BackingMapManagerContext ctxBMM) Return the ParameterResolver that has been initialized with the built-in Coherence parameters.getParameterResolver
(String sCacheName, ClassLoader loader, BackingMapManagerContext ctxBMM) Return the ParameterResolver that has been initialized with the built-in Coherence parameters.protected long
getRequestTimeout
(ServiceScheme scheme) Return the request timeout determined by theServiceScheme
.Return theResourceRegistry
for this factory.Return the scope name for this ConfigurableCacheFactory.Return a map of services that were successfully started by this factory where values are corresponding non-scoped service names.boolean
isActive()
Returnstrue
if thisExtensibleConfigurableCacheFactory
is activated.boolean
isCacheActive
(String sCacheName, ClassLoader loader) Validate whether a cache with the given name is active in the context of the givenClassLoader
.boolean
Return true if this factory has been disposed via invocation ofdispose()
.boolean
isTopicActive
(String sTopicName, ClassLoader loader) Validate whether a topic with the given name is active in the context of the givenClassLoader
.protected void
Register the specified BackingMapManager as a "valid" one.protected void
release
(BinaryStore store) Release all resources associated with the specified binary store.protected void
release
(CacheLoader loader) Release all resources associated with the specified loader.protected void
Release all resources associated with the specified backing map.void
releaseCache
(NamedCache cache) Release a cache and its associated resources.protected void
releaseCache
(NamedCache cache, boolean fDestroy) Release a cache managed by this factory, optionally destroying it.void
releaseTopic
(NamedTopic<?> topic) Release aNamedTopic
and its associated resources.protected void
setConfigClassLoader
(ClassLoader loader) Set the class loader used to load the configuration for this factory.protected void
startService
(Service service) Start the givenService
.void
Start all services that are declared as requiring an "autostart".protected static int
translateStandardSchemeType
(String sScheme) Translate the scheme name into the scheme type.protected void
validateBackingMapManager
(CacheService service) Ensures that the backing map manager of the specified service was configured by this (or equivalent) factory.Methods inherited from class com.tangosol.util.Base
azzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getProcessRandom, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mergeArray, mergeBooleanArray, mergeByteArray, mergeCharArray, mergeDoubleArray, mergeFloatArray, mergeIntArray, mergeLongArray, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, wait
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tangosol.net.ConfigurableCacheFactory
ensureCache, ensureTopic, ensureTypedCache
-
Field Details
-
FILE_CFG_CACHE
The default configuration file name.- See Also:
-
CACHE_NAME
The name of the replaceable parameter representing the cache name.- See Also:
-
CLASS_LOADER
The name of the replaceable parameter representing the class loader.- See Also:
-
MGR_CONTEXT
The name of the replaceable parameter representing the backing map manager context.- See Also:
-
SCHEME_REF
The name of the replaceable parameter representing a scheme reference.- See Also:
-
CACHE_REF
The name of the replaceable parameter representing a cache reference.- See Also:
-
CACHE_FACTORY
The name of the replaceable parameter representing a cache factory.- See Also:
-
SCHEME_UNKNOWN
public static final int SCHEME_UNKNOWNThe unknown scheme type.- See Also:
-
SCHEME_REPLICATED
public static final int SCHEME_REPLICATEDThe replicated cache scheme.- See Also:
-
SCHEME_OPTIMISTIC
public static final int SCHEME_OPTIMISTICThe optimistic cache scheme.- See Also:
-
SCHEME_DISTRIBUTED
public static final int SCHEME_DISTRIBUTEDThe distributed cache scheme.- See Also:
-
SCHEME_NEAR
public static final int SCHEME_NEARThe near cache scheme.- See Also:
-
SCHEME_VERSIONED_NEAR
public static final int SCHEME_VERSIONED_NEARThe versioned near cache scheme.- See Also:
-
SCHEME_LOCAL
public static final int SCHEME_LOCALThe local cache scheme.- See Also:
-
SCHEME_OVERFLOW
public static final int SCHEME_OVERFLOWThe overflow map scheme.- See Also:
-
SCHEME_DISK
public static final int SCHEME_DISKDeprecated.As of Coherence 3.0, replaced bySCHEME_EXTERNAL
andSCHEME_EXTERNAL_PAGED
The disk scheme.- See Also:
-
SCHEME_EXTERNAL
public static final int SCHEME_EXTERNALThe external scheme.- See Also:
-
SCHEME_EXTERNAL_PAGED
public static final int SCHEME_EXTERNAL_PAGEDThe paged-external scheme.- See Also:
-
SCHEME_CLASS
public static final int SCHEME_CLASSThe custom class scheme.- See Also:
-
SCHEME_READ_WRITE_BACKING
public static final int SCHEME_READ_WRITE_BACKINGThe read write backing map scheme.- See Also:
-
SCHEME_VERSIONED_BACKING
public static final int SCHEME_VERSIONED_BACKINGThe versioned backing map scheme.- See Also:
-
SCHEME_INVOCATION
public static final int SCHEME_INVOCATIONThe invocation service scheme.- See Also:
-
SCHEME_PROXY
public static final int SCHEME_PROXYThe proxy service scheme.- See Also:
-
SCHEME_REMOTE_CACHE
public static final int SCHEME_REMOTE_CACHEThe remote cache scheme.- See Also:
-
SCHEME_REMOTE_INVOCATION
public static final int SCHEME_REMOTE_INVOCATIONThe remote invocation scheme.- See Also:
-
SCHEME_TRANSACTIONAL
public static final int SCHEME_TRANSACTIONALThe transactional cache scheme.- See Also:
-
SCHEME_FLASHJOURNAL
public static final int SCHEME_FLASHJOURNALThe flash journal cache scheme.- See Also:
-
SCHEME_RAMJOURNAL
public static final int SCHEME_RAMJOURNALThe ram journal cache scheme.- See Also:
-
MAP_SCHEMETYPE_BY_SCHEMENAME
The mappings from scheme name to scheme type. -
f_store
protected final com.tangosol.net.internal.ScopedCacheReferenceStore f_storeStore that holds cache references scoped by class loader and optionally, if configured, Subject. -
f_storeTopics
Store that holdsNamedTopic
references scoped by class loader and optionally, if configured, Subject. -
f_dispatcher
protected final com.tangosol.net.events.internal.ConfigurableCacheFactoryDispatcher f_dispatcherConfigurableCacheFactoryDispatcher linked to this cache factory. -
m_mapServices
Map used to hold references to services that are ensured by this factory where values are non-scoped service names. -
m_setManager
A Set of BackingMapManager instances registered by this factory.Note: we rely on the BackingMapManager classes *not* to override the hashCode() and equals() methods.
-
m_fActivated
protected boolean m_fActivatedIndicates whether this factory has been activated. -
m_fDisposed
protected boolean m_fDisposedIndicates whether this factory has been disposed.
-
-
Constructor Details
-
ExtensibleConfigurableCacheFactory
public ExtensibleConfigurableCacheFactory(ExtensibleConfigurableCacheFactory.Dependencies dependencies) Constructs anExtensibleConfigurableCacheFactory
using the specifiedExtensibleConfigurableCacheFactory.Dependencies
.- Parameters:
dependencies
- theExtensibleConfigurableCacheFactory.Dependencies
-
-
Method Details
-
ensureCache
public <K,V> NamedCache<K,V> ensureCache(String sCacheName, ClassLoader loader, NamedMap.Option... options) Description copied from interface:ConfigurableCacheFactory
Ensure an cache for the given name, classloader and options.- Specified by:
ensureCache
in interfaceConfigurableCacheFactory
- Parameters:
sCacheName
- the cache nameloader
- ClassLoader that should be used to deserialize objects in the cacheoptions
- theNamedMap.Option
s- Returns:
- a NamedCache created
-
releaseCache
Release a cache and its associated resources.Releasing a cache makes it no longer usable, but does not affect the cache itself. In other words, all other references to the cache will still be valid, and the cache data is not affected by releasing the reference. Any attempt to use the released cache reference afterword will result in an exception.
- Specified by:
releaseCache
in interfaceConfigurableCacheFactory
- Parameters:
cache
- the cache to release
-
destroyCache
Release and destroy this instance of NamedCache.Warning: This method is used to completely destroy the specified cache across the cluster. All references in the entire cluster to this cache will be invalidated, the cached data will be cleared, and all internal and associated resources will be released.
- Specified by:
destroyCache
in interfaceConfigurableCacheFactory
- Parameters:
cache
- the cache to release
-
ensureTopic
public <V> NamedTopic<V> ensureTopic(String sName, ClassLoader loader, NamedCollection.Option... options) Ensure an Object-based topic for the given name.- Specified by:
ensureTopic
in interfaceConfigurableCacheFactory
- Parameters:
sName
- the topic nameloader
- ClassLoader that should be used to deserialize objects in the cacheoptions
- theNamedCollection.Option
s to control any optional topic configuration- Returns:
- a NamedTopic created
-
ensureService
Ensure a service for the given name.- Specified by:
ensureService
in interfaceConfigurableCacheFactory
- Parameters:
sServiceName
- the service name- Returns:
- a Service created
-
activate
public void activate()Activate prepares the factory to be used within a container and should be called before any other factory method.- Specified by:
activate
in interfaceConfigurableCacheFactory
-
dispose
public void dispose()Dispose of this factory. This will stop all services that were started by this factory and dispose of all resources registered viaConfigurableCacheFactory.getResourceRegistry()
. This factory may not be used after invoking dispose.- Specified by:
dispose
in interfaceConfigurableCacheFactory
-
getResourceRegistry
Return theResourceRegistry
for this factory.- Specified by:
getResourceRegistry
in interfaceConfigurableCacheFactory
- Returns:
- the ResourceRegistry for this factory
-
getInterceptorRegistry
Return theInterceptorRegistry
for this factory.EventInterceptor
s registered with this registry will be scoped to services and caches created by this factory.- Specified by:
getInterceptorRegistry
in interfaceConfigurableCacheFactory
- Returns:
- the
InterceptorRegistry
for this factory
-
isActive
public boolean isActive()Returnstrue
if thisExtensibleConfigurableCacheFactory
is activated.- Specified by:
isActive
in interfaceConfigurableCacheFactory
- Returns:
true
if thisExtensibleConfigurableCacheFactory
is activated
-
getScopeName
Return the scope name for this ConfigurableCacheFactory. If specified, this name will be used as a prefix for the name of all services created by this factory.- Specified by:
getScopeName
in interfaceConfigurableCacheFactory
- Returns:
- the scope name for this ConfigurableCacheFactory; may be null
-
getRequestTimeout
Return the request timeout determined by theServiceScheme
.- Parameters:
scheme
- the scheme that determines the request timeout- Returns:
- the request timeout
-
isDisposed
public boolean isDisposed()Return true if this factory has been disposed via invocation ofdispose()
.- Specified by:
isDisposed
in interfaceConfigurableCacheFactory
- Returns:
- true if this factory has been disposed
-
assertNotDisposed
protected void assertNotDisposed()ThrowsIllegalStateException
if this factory has been disposed via invocation ofdispose()
. -
configure
protected void configure()Performs final configuration of anExtensibleConfigurableCacheFactory
instance prior to it being used by Coherence.This method is called by the
ExtensibleConfigurableCacheFactory
constructor, just after the internal state has been initialized and before theExtensibleConfigurableCacheFactory
instance is returned to the caller.This method allows those that need to sub-class an
ExtensibleConfigurableCacheFactory
to override the final stages of configuration. Anyone overriding this method must be sure to call super.configure() in order to ensure correction configuration semantics. -
ensureService
Ensure the service for the specified scheme then start the service if it isn't running.- Parameters:
scheme
- the scheme referring to the service- Returns:
- the corresponding Service
-
getCacheConfig
Return theCacheConfig
that contains the configuration used by this factory.- Returns:
- the CacheConfig
-
translateStandardSchemeType
Translate the scheme name into the scheme type. Valid scheme types are any of the SCHEME_* constants.- Parameters:
sScheme
- the scheme name- Returns:
- the scheme type
-
startServices
public void startServices()Start all services that are declared as requiring an "autostart". -
getServiceMap
Return a map of services that were successfully started by this factory where values are corresponding non-scoped service names.Note, that this method returns a copy of the underlying map
-
startService
Start the givenService
. Extensions of this class can override this method to provide pre/post start functionality.- Parameters:
service
- theService
to start
-
setConfigClassLoader
Set the class loader used to load the configuration for this factory.- Parameters:
loader
- the class loader to use for loading the configuration
-
getConfigClassLoader
Return the class loader used to load the configuration for this factory.- Returns:
- the class loader to use for loading the configuration
-
checkPermission
Check if the current user is allowed to "join" the cache.- Parameters:
cache
- the cache
-
checkPermission
Check if the current user is allowed to "join" to the collection.- Parameters:
collection
- the collection
-
checkPermission
Check if the current user is allowed to "join" the data structure with the specified name.- Parameters:
service
- the servicesName
- the data structure name
-
getParameterResolver
public ParameterResolver getParameterResolver(String sCacheName, ClassLoader loader, BackingMapManagerContext ctxBMM) Return the ParameterResolver that has been initialized with the built-in Coherence parameters. Schemes may use expressions (macros) and the resolver contains the parameters that are defined in the cache mapping needed to translate those expressions into values.- Parameters:
sCacheName
- the cache nameloader
- the ClassLoaderctxBMM
- the BackingMapManagerContext- Returns:
- the ParameterResolver
-
getParameterResolver
public <M extends ResourceMapping> ParameterResolver getParameterResolver(String sResourceName, Class<M> clzResourceMapping, ClassLoader loader, BackingMapManagerContext ctxBMM) Return the ParameterResolver that has been initialized with the built-in Coherence parameters. Schemes may use expressions (macros) and the resolver contains the parameters that are defined in the cache mapping needed to translate those expressions into values.- Parameters:
sResourceName
- the resource nameclzResourceMapping
- resource typeloader
- the ClassLoaderctxBMM
- the BackingMapManagerContext- Returns:
- the ParameterResolver
- Since:
- 14.1.1.0
-
createParameterResolver
public ParameterResolver createParameterResolver(ClassLoader loader, BackingMapManagerContext ctxBMM) Return the ParameterResolver that has been initialized with the built-in Coherence parameters. Schemes may use expressions (macros) and the resolver contains the parameters that are defined for components defined at a scheme level and not a cache level.- Parameters:
loader
- the ClassLoaderctxBMM
- the BackingMapManagerContext- Returns:
- the ParameterResolver
-
registerBackingMapManager
Register the specified BackingMapManager as a "valid" one. That registry is used to identify services configured and started by this factory and prevent accidental usage of (potentially incompatible) cache services with the same name created by other factories.- Parameters:
mgr
- a BackingMapManager instance instantiated by this factory
-
validateBackingMapManager
Ensures that the backing map manager of the specified service was configured by this (or equivalent) factory. This validation is performed to prevent accidental usage of (potentially incompatible) cache services with the same name created by other factories.- Parameters:
service
- the CacheService to validate- Throws:
IllegalStateException
- if the backing map for the provided service does not reference the expected factory
-
release
Release all resources associated with the specified backing map.- Parameters:
map
- the map being releasedmapListeners
- map of registered map listeners keyed by the corresponding map references
-
release
Release all resources associated with the specified loader.- Parameters:
loader
- the cache loader being released
-
release
Release all resources associated with the specified binary store.- Parameters:
store
- the binary store being released
-
releaseCache
Release a cache managed by this factory, optionally destroying it.- Parameters:
cache
- the cache to releasefDestroy
- true to destroy the cache as well
-
releaseTopic
Release aNamedTopic
and its associated resources.Releasing a topic makes it no longer usable, but does not affect the topic itself. In other words, all other references to the topic will still be valid, and the topic data is not affected by releasing the reference. Any attempt to use the released topic reference afterword will result in an exception.
- Specified by:
releaseTopic
in interfaceConfigurableCacheFactory
- Parameters:
topic
- the topic to release
-
destroyTopic
Release and destroy this instance ofNamedTopic
.Warning: This method is used to completely destroy the specified topic across the cluster. All references in the entire cluster to this topic will be invalidated, the topic data will be cleared, and all internal and associated resources will be released.
- Specified by:
destroyTopic
in interfaceConfigurableCacheFactory
- Parameters:
topic
- the topic to release
-
isCacheActive
Validate whether a cache with the given name is active in the context of the givenClassLoader
. The ClassLoader should be the same as provided to a previous call toConfigurableCacheFactory.ensureCache(String, ClassLoader, NamedCache.Option...)
.- Specified by:
isCacheActive
in interfaceConfigurableCacheFactory
- Parameters:
sCacheName
- the cache nameloader
- the ClassLoader used to originally obtain the cache- Returns:
- true if cache is active in context of the provided ClassLoader
-
isTopicActive
Validate whether a topic with the given name is active in the context of the givenClassLoader
. The ClassLoader should be the same as provided to a previous call toConfigurableCacheFactory.ensureTopic(String, ClassLoader, NamedTopic.Option...)
.- Specified by:
isTopicActive
in interfaceConfigurableCacheFactory
- Parameters:
sTopicName
- the topic nameloader
- the ClassLoader used to originally obtain the topic- Returns:
- true if topic is active in context of the provided ClassLoader
-
SCHEME_EXTERNAL
andSCHEME_EXTERNAL_PAGED