Class RemoteCacheScheme
- java.lang.Object
-
- com.tangosol.coherence.config.scheme.AbstractScheme
-
- com.tangosol.coherence.config.scheme.AbstractServiceScheme<D>
-
- com.tangosol.coherence.config.scheme.AbstractCachingScheme<com.tangosol.internal.net.service.extend.remote.RemoteCacheServiceDependencies>
-
- com.tangosol.coherence.config.scheme.RemoteCacheScheme
-
- All Implemented Interfaces:
BackingMapManagerBuilder
,MapBuilder
,NamedCacheBuilder
,ServiceBuilder
,BundlingScheme
,CachingScheme
,ObservableCachingScheme
,Scheme
,ServiceScheme
public class RemoteCacheScheme extends AbstractCachingScheme<com.tangosol.internal.net.service.extend.remote.RemoteCacheServiceDependencies> implements BundlingScheme
TheRemoteCacheScheme
is responsible for building a remote cache.- Since:
- Coherence 12.1.2
- Author:
- pfm 2011.10.04
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.tangosol.coherence.config.builder.MapBuilder
MapBuilder.Dependencies
-
-
Field Summary
-
Fields inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme
m_serviceDependencies
-
Fields inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
DELIM_APPLICATION_SCOPE, DELIM_DOMAIN_PARTITION
-
-
Constructor Summary
Constructors Constructor Description RemoteCacheScheme()
Constructs aRemoteCacheScheme
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BundleManager
getBundleManager()
Obtains theBundleManager
.String
getServiceType()
Return the service type.boolean
isRunningClusterNeeded()
Return true if a running cluster is needed before using a service.Service
realizeService(ParameterResolver resolver, ClassLoader loader, Cluster cluster)
Realize (ensure) a Service.void
setBundleManager(BundleManager mgrBundle)
Set theBundleManager
.-
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractCachingScheme
establishMapListeners, getDefaultParameterResolver, getListenerBuilder, realizeBackingMapManager, realizeCache, realizeMap, setListenerBuilder, validate
-
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme
ensureService, getDefaultServiceName, getEventInterceptorBuilders, getScopedServiceName, getScopeName, getServiceBuilder, getServiceDependencies, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, setAutoStart, setScopeName, setServiceDependencies, setServiceName, setXml
-
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractScheme
getSchemeName, isAnonymous, setSchemeName, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.coherence.config.scheme.Scheme
getSchemeName, isAnonymous
-
Methods inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
getEventInterceptorBuilders, getScopedServiceName, getServiceBuilder, getServiceName, isAutoStart
-
-
-
-
Constructor Detail
-
RemoteCacheScheme
public RemoteCacheScheme()
Constructs aRemoteCacheScheme
.
-
-
Method Detail
-
getServiceType
public String getServiceType()
Return the service type.- Specified by:
getServiceType
in interfaceServiceScheme
- Returns:
- the service type
-
isRunningClusterNeeded
public boolean isRunningClusterNeeded()
Return true if a running cluster is needed before using a service.- Specified by:
isRunningClusterNeeded
in interfaceServiceBuilder
- Specified by:
isRunningClusterNeeded
in classAbstractServiceScheme<com.tangosol.internal.net.service.extend.remote.RemoteCacheServiceDependencies>
- Returns:
true
if a running cluster is needed before using a service
-
realizeService
public Service realizeService(ParameterResolver resolver, ClassLoader loader, Cluster cluster)
Realize (ensure) a Service. The returned Service is fully configured and ready to be used.- Specified by:
realizeService
in interfaceServiceBuilder
- Overrides:
realizeService
in classAbstractServiceScheme<com.tangosol.internal.net.service.extend.remote.RemoteCacheServiceDependencies>
- Parameters:
resolver
- the ParameterResolverloader
- the ClassLoadercluster
- the Cluster which will already be running if necessary- Returns:
- the Service
-
getBundleManager
public BundleManager getBundleManager()
Obtains theBundleManager
.- Specified by:
getBundleManager
in interfaceBundlingScheme
- Returns:
- the BundleManager
-
setBundleManager
@Injectable("operation-bundling") public void setBundleManager(BundleManager mgrBundle)
Set theBundleManager
.- Parameters:
mgrBundle
- the BundleManager
-
-