|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.config.scheme.AbstractScheme
com.tangosol.coherence.config.scheme.AbstractServiceScheme
com.tangosol.coherence.config.scheme.AbstractCachingScheme
com.tangosol.coherence.config.scheme.AbstractBundlingScheme
com.tangosol.coherence.config.scheme.DistributedScheme
public class DistributedScheme
The DistributedScheme
class builds a distributed cache. The super class AbstractBundlingScheme
realizes the cache and applies bundling to that cache.
Nested Class Summary | |
---|---|
static class |
DistributedScheme.BackupConfig The DistributedScheme.BackupConfig class manages configuration for the partitioned cache backup map. |
Nested classes/interfaces inherited from interface com.tangosol.coherence.config.builder.MapBuilder |
---|
MapBuilder.Dependencies |
Constructor Summary | |
---|---|
DistributedScheme() |
Method Summary | |
---|---|
BackingMapScheme |
getBackingMapScheme() Return the BackingMapScheme which builds the backing map for the clustered scheme. |
BackupMapConfig |
getBackupMapConfig() Return the BackupMapConfig which which is used to configure the backup map. |
java.util.List |
getEventInterceptorBuilders() Obtains the List of NamedEventInterceptorBuilder s that have been defined for the ServiceScheme . |
java.lang.String |
getServiceType() Return the service type. |
boolean |
isRunningClusterNeeded() Return true if a running cluster is needed before using a service. |
void |
setBackingMapScheme(BackingMapScheme scheme) Set the BackingMapScheme which builds the backing map for the clustered scheme. |
void |
setBackupMapConfig(BackupMapConfig config) Set the BackupMapConfig which which is used to configure a backup map. |
void |
setEventInterceptorBuilders(java.util.List listBuilders) Sets the List of NamedEventInterceptorBuilder s for the DistributedScheme . |
void |
setXml(XmlElement xml) Set the XML so that we can create a Service using the SafeCluster.ensureService. |
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractBundlingScheme |
---|
getBundleManager, realizeCache, setBundleManager |
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractCachingScheme |
---|
establishMapListeners, getDefaultParameterResolver, getListenerBuilder, realizeBackingMapManager, realizeMap, setListenerBuilder, validate |
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme |
---|
getScopedServiceName, getScopedServiceName, getScopeName, getServiceBuilder, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, realizeService, setAutoStart, setScopeName, setServiceName, validate |
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractScheme |
---|
getSchemeName, isAnonymous, setSchemeName |
Methods inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme |
---|
getScopedServiceName, getScopedServiceName, getServiceBuilder, getServiceName, isAutoStart |
Methods inherited from interface com.tangosol.coherence.config.scheme.Scheme |
---|
getSchemeName, isAnonymous |
Constructor Detail |
---|
public DistributedScheme()
Method Detail |
---|
public java.lang.String getServiceType()
getServiceType
in interface ServiceScheme
public java.util.List getEventInterceptorBuilders()
List
of NamedEventInterceptorBuilder
s that have been defined for the ServiceScheme
.
Note: For those ServiceScheme
s don't support event interceptors, the returned value must be an empty list.
getEventInterceptorBuilders
in interface ServiceScheme
getEventInterceptorBuilders
in class AbstractServiceScheme
List
over NamedEventInterceptorBuilder
spublic boolean isRunningClusterNeeded()
isRunningClusterNeeded
in interface ServiceBuilder
isRunningClusterNeeded
in class AbstractServiceScheme
public BackingMapScheme getBackingMapScheme()
BackingMapScheme
which builds the backing map for the clustered scheme.getBackingMapScheme
in interface ClusteredCachingScheme
@Injectable(value="backing-map-scheme")
public void setBackingMapScheme(BackingMapScheme scheme)
BackingMapScheme
which builds the backing map for the clustered scheme.scheme
- the scheme builderpublic BackupMapConfig getBackupMapConfig()
BackupMapConfig
which which is used to configure the backup map.
@Injectable(value="backup-storage")
public void setBackupMapConfig(BackupMapConfig config)
BackupMapConfig
which which is used to configure a backup map.config
- the backup map configuration
@Injectable(value="interceptors")
public void setEventInterceptorBuilders(java.util.List listBuilders)
List
of NamedEventInterceptorBuilder
s for the DistributedScheme
.listBuilders
- the List
of NamedEventInterceptorBuilder
spublic void setXml(XmlElement xml)
setXml
in interface ServiceBuilder
setXml
in class AbstractServiceScheme
xml
- the distributed-scheme XML
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |