|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| 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.AbstractLocalCachingScheme
com.tangosol.coherence.config.scheme.ExternalScheme
public class ExternalScheme
The ExternalScheme class is responsible for building a fully configured instance of a ExternalCache.
| 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 |
| Constructor Summary | |
|---|---|
ExternalScheme() |
|
| Method Summary | |
|---|---|
BinaryStoreManagerBuilder |
getBinaryStoreManagerBuilder()Obtains the BinaryStoreManagerBuilder for the BinaryStoreManager. |
Seconds |
getExpiryDelay(com.tangosol.config.expression.ParameterResolver resolver)Return the amount of time since the last update that entries are kept by the cache before being expired. |
Units |
getHighUnits(com.tangosol.config.expression.ParameterResolver resolver)Return the limit of cache size. |
UnitCalculatorBuilder |
getUnitCalculatorBuilder()Return the UnitCalculatorBuilder used to build a UnitCalculator. |
int |
getUnitFactor(com.tangosol.config.expression.ParameterResolver resolver)Return the unit-factor element specifies the factor by which the units, low-units and high-units properties are adjusted. |
protected SerializationCache |
instantiateSerializationCache(BinaryStore store, int cMax, boolean fBinaryMap)Construct an SerializationCache using the specified parameters. |
protected SerializationCache |
instantiateSerializationCache(BinaryStore store, int cMax, java.lang.ClassLoader loader)Construct an SerializationCache using the specified parameters. |
protected SerializationMap |
instantiateSerializationMap(BinaryStore store, boolean fBinaryMap)Construct an SerializationMap using the specified parameters. |
protected SerializationMap |
instantiateSerializationMap(BinaryStore store, java.lang.ClassLoader loader)Construct an SerializationMap using the specified parameters. |
protected java.util.Map |
instantiateSerializationMap(com.tangosol.config.expression.ParameterResolver resolver, BinaryStore store, boolean fBinaryMap, java.lang.ClassLoader loader, int cHighUnits, int cExpiryMillis)Instantiate a SerializationMap, SerializationCache, SimpleSerializationMap, or any sub-class thereof. |
protected SimpleSerializationMap |
instantiateSimpleSerializationMap(BinaryStore store, boolean fBinaryMap)Construct a SimpleSerializationMap using the specified parameters. |
protected SimpleSerializationMap |
instantiateSimpleSerializationMap(BinaryStore store, java.lang.ClassLoader loader)Construct a SimpleSerializationMap using the specified parameters. |
java.util.Map |
realizeMap(com.tangosol.config.expression.ParameterResolver resolver, MapBuilder.Dependencies dependencies)Realize a Map based on the state of the MapBuilder, resolvable parameters and provided MapBuilder.Dependencies. |
void |
setBinaryStoreManagerBuilder(BinaryStoreManagerBuilder bldr)Sets the BinaryStoreManagerBuilder for the BinaryStoreManager. |
void |
setExpiryDelay(com.tangosol.config.expression.Expression expr)Set the expiry delay. |
void |
setHighUnits(com.tangosol.config.expression.Expression expr)Set the high units. |
void |
setUnitCalculatorBuilder(UnitCalculatorBuilder bldr)Set the UnitCalculatorBuilder. |
void |
setUnitFactor(com.tangosol.config.expression.Expression expr)Set the unit factor. |
protected void |
validate(com.tangosol.config.expression.ParameterResolver resolver)Validate the properties. |
| Methods inherited from class com.tangosol.coherence.config.scheme.AbstractLocalCachingScheme |
|---|
getCustomBuilder, getEventInterceptorBuilders, getServiceType, isRunningClusterNeeded, setCustomBuilder |
| Methods inherited from class com.tangosol.coherence.config.scheme.AbstractCachingScheme |
|---|
establishMapListeners, getDefaultParameterResolver, getListenerBuilder, realizeBackingMapManager, realizeCache, setListenerBuilder |
| Methods inherited from class com.tangosol.coherence.config.scheme.AbstractServiceScheme |
|---|
getScopedServiceName, getScopedServiceName, getScopeName, getServiceBuilder, getServiceDependencies, getServiceName, getXml, injectScopeNameIntoService, isAutoStart, realizeService, setAutoStart, setScopeName, setServiceDependencies, setServiceName, setXml |
| Methods inherited from class com.tangosol.coherence.config.scheme.AbstractScheme |
|---|
getSchemeName, isAnonymous, setSchemeName, validate |
| 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 ExternalScheme()
| Method Detail |
|---|
public java.util.Map realizeMap(com.tangosol.config.expression.ParameterResolver resolver,
MapBuilder.Dependencies dependencies)
Map based on the state of the MapBuilder, resolvable parameters and provided MapBuilder.Dependencies.realizeMap in interface MapBuilderrealizeMap in class AbstractCachingSchemeresolver - the ParameterResolverdependencies - the MapBuilder.Dependencies for realizing the MapMappublic BinaryStoreManagerBuilder getBinaryStoreManagerBuilder()
BinaryStoreManagerBuilder for the BinaryStoreManager.getBinaryStoreManagerBuilder in interface BinaryStoreManagerBuilderCustomizationBinaryStoreManagerBuilderpublic void setBinaryStoreManagerBuilder(BinaryStoreManagerBuilder bldr)
BinaryStoreManagerBuilder for the BinaryStoreManager.setBinaryStoreManagerBuilder in interface BinaryStoreManagerBuilderCustomizationbldr - the BinaryStoreManagerBuilderpublic Seconds getExpiryDelay(com.tangosol.config.expression.ParameterResolver resolver)
resolver - the ParameterResolver
@Injectable
public void setExpiryDelay(com.tangosol.config.expression.Expression expr)
expr - the expiry delay expressionpublic Units getHighUnits(com.tangosol.config.expression.ParameterResolver resolver)
resolver - the ParameterResolver
@Injectable
public void setHighUnits(com.tangosol.config.expression.Expression expr)
expr - the high units expressionpublic UnitCalculatorBuilder getUnitCalculatorBuilder()
@Injectable(value="unit-calculator")
public void setUnitCalculatorBuilder(UnitCalculatorBuilder bldr)
bldr - the UnitCalculatorBuilderpublic int getUnitFactor(com.tangosol.config.expression.ParameterResolver resolver)
resolver - the ParameterResolver
@Injectable
public void setUnitFactor(com.tangosol.config.expression.Expression expr)
expr - the unit factor expression
protected java.util.Map instantiateSerializationMap(com.tangosol.config.expression.ParameterResolver resolver,
BinaryStore store,
boolean fBinaryMap,
java.lang.ClassLoader loader,
int cHighUnits,
int cExpiryMillis)
resolver - the ParmeterResolverstore - a BinaryStore to use to write serialized data tofBinaryMap - true if the only data written to the Map will already be in Binary formloader - the ClassLoader to use (if not a Binary map)cHighUnits - the max size in units for the serialization cachecExpiryMillis - the expiry time in milliseconds for the cache
protected SerializationCache instantiateSerializationCache(BinaryStore store,
int cMax,
java.lang.ClassLoader loader)
This method exposes a corresponding SerializationCache constructor and is provided for the express purpose of allowing its override.
protected SerializationCache instantiateSerializationCache(BinaryStore store,
int cMax,
boolean fBinaryMap)
This method exposes a corresponding SerializationCache constructor and is provided for the express purpose of allowing its override.
protected SerializationMap instantiateSerializationMap(BinaryStore store,
java.lang.ClassLoader loader)
This method exposes a corresponding SerializationMap constructor and is provided for the express purpose of allowing its override.
protected SerializationMap instantiateSerializationMap(BinaryStore store,
boolean fBinaryMap)
This method exposes a corresponding SerializationMap constructor and is provided for the express purpose of allowing its override.
protected SimpleSerializationMap instantiateSimpleSerializationMap(BinaryStore store,
java.lang.ClassLoader loader)
This method exposes a corresponding SerializationMap constructor and is provided for the express purpose of allowing its override.
protected SimpleSerializationMap instantiateSimpleSerializationMap(BinaryStore store,
boolean fBinaryMap)
This method exposes a corresponding SerializationMap constructor and is provided for the express purpose of allowing its override.
protected void validate(com.tangosol.config.expression.ParameterResolver resolver)
validate in class AbstractCachingSchemeresolver - the ParameterResolver needed to resolve expressions
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||