|
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.AbstractLocalCachingScheme
com.tangosol.coherence.config.scheme.AbstractJournalScheme
public abstract class AbstractJournalScheme
The AbstractJournalScheme
contains functionality common to all Journal schemes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.tangosol.coherence.config.builder.MapBuilder |
---|
MapBuilder.Dependencies |
Constructor Summary | |
---|---|
AbstractJournalScheme() |
Method Summary | |
---|---|
protected void |
configureCache(com.tangosol.config.expression.ParameterResolver resolver, MapBuilder.Dependencies dependencies, CompactSerializationCache cache) Configure the specified cache according to the specified dependencies and parameter resolver. |
EvictionPolicyBuilder |
getEvictionPolicyBuilder() Return the EvictionPolicyBuilder used to build an EvictionPolicy. |
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. |
Units |
getLowUnits(com.tangosol.config.expression.ParameterResolver resolver) Return the lowest number of units that a cache is pruned down to when pruning takes place. |
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 CompactSerializationCache |
instantiateCompactSerializationCache(com.tangosol.config.expression.ParameterResolver resolver, MapBuilder.Dependencies dependencies, BinaryStoreManager mgr) Construct a CompactSerializationCache using the specified parameters. |
void |
setEvictionPolicyBuilder(EvictionPolicyBuilder bldr) Set the EvictionPolicyBuilder. |
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 |
setLowUnits(com.tangosol.config.expression.Expression expr) Set the low units. |
void |
setUnitCalculatorBuilder(UnitCalculatorBuilder builder) Set the UnitCalculatorBuilder. |
void |
setUnitFactor(com.tangosol.config.expression.Expression expr) Set the unit factor. |
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, 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, setXml, 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 AbstractJournalScheme()
Method Detail |
---|
protected CompactSerializationCache instantiateCompactSerializationCache(com.tangosol.config.expression.ParameterResolver resolver, MapBuilder.Dependencies dependencies, BinaryStoreManager mgr)
This method exposes a corresponding CompactSerializationCache constructor
and is provided for the express purpose of allowing its override.
resolver
- the parameters used to realize a CompactSerializationCachedependencies
- the dependencies used to realize a CompactSerializationCachemgr
- the BinaryStoreManagerprotected void configureCache(com.tangosol.config.expression.ParameterResolver resolver, MapBuilder.Dependencies dependencies, CompactSerializationCache cache)
resolver
- the parameter resolverdependencies
- the configuration dependenciescache
- the CompactSerializationCachepublic EvictionPolicyBuilder getEvictionPolicyBuilder()
@Injectable(value="eviction-policy")
public void setEvictionPolicyBuilder(EvictionPolicyBuilder bldr)
bldr
- the EvictionPolicyBuilderpublic 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 Units getLowUnits(com.tangosol.config.expression.ParameterResolver resolver)
resolver
- the ParameterResolver
@Injectable
public void setLowUnits(com.tangosol.config.expression.Expression expr)
expr
- the low unitspublic UnitCalculatorBuilder getUnitCalculatorBuilder()
@Injectable(value="unit-calculator")
public void setUnitCalculatorBuilder(UnitCalculatorBuilder builder)
builder
- 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
|
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 |