|
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.BackupConfigThe 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 NamedEventInterceptorBuilders 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 NamedEventInterceptorBuilders 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 ServiceSchemepublic java.util.List getEventInterceptorBuilders()
List of NamedEventInterceptorBuilders that have been defined for the ServiceScheme.
Note: For those ServiceSchemes don't support event interceptors, the returned value must be an empty list.
getEventInterceptorBuilders in interface ServiceSchemegetEventInterceptorBuilders in class AbstractServiceSchemeList over NamedEventInterceptorBuilderspublic boolean isRunningClusterNeeded()
isRunningClusterNeeded in interface ServiceBuilderisRunningClusterNeeded in class AbstractServiceSchemepublic 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 NamedEventInterceptorBuilders for the DistributedScheme.listBuilders - the List of NamedEventInterceptorBuilderspublic void setXml(XmlElement xml)
setXml in interface ServiceBuildersetXml in class AbstractServiceSchemexml - 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 | |||||||