Class PagedTopicStorageScheme
- java.lang.Object
-
- com.tangosol.coherence.config.scheme.WrapperCachingScheme
-
- com.tangosol.coherence.config.scheme.PagedTopicStorageScheme
-
- All Implemented Interfaces:
BackingMapManagerBuilder
,MapBuilder
,NamedCacheBuilder
,CachingScheme
,Scheme
,ServiceScheme
public class PagedTopicStorageScheme extends WrapperCachingScheme
A scheme that builds the inner scheme of the backing map scheme of a topic.- Since:
- Coherence 14.1.1
- Author:
- jk 2015.05.29
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.tangosol.coherence.config.builder.MapBuilder
MapBuilder.Dependencies
-
-
Field Summary
-
Fields inherited from interface com.tangosol.coherence.config.scheme.ServiceScheme
DELIM_APPLICATION_SCOPE, DELIM_DOMAIN_PARTITION
-
-
Constructor Summary
Constructors Constructor Description PagedTopicStorageScheme(CachingScheme schemeStorage, PagedTopicScheme topicScheme)
Create aPagedTopicStorageScheme
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedCache
realizeCache(ParameterResolver resolver, MapBuilder.Dependencies dependencies)
Realizes aNamedCache
(possibly "ensuring it") based on the state of the builder, the providedParameterResolver
andMapBuilder
dependencies.Map
realizeMap(ParameterResolver resolver, MapBuilder.Dependencies dependencies)
Realize aMap
based on the state of theMapBuilder
, resolvable parameters and providedMapBuilder.Dependencies
.-
Methods inherited from class com.tangosol.coherence.config.scheme.WrapperCachingScheme
getCachingScheme, getEventInterceptorBuilders, getSchemeName, getScopedServiceName, getServiceBuilder, getServiceName, getServiceType, isAnonymous, isAutoStart, realizeBackingMapManager
-
-
-
-
Constructor Detail
-
PagedTopicStorageScheme
public PagedTopicStorageScheme(CachingScheme schemeStorage, PagedTopicScheme topicScheme)
Create aPagedTopicStorageScheme
.- Parameters:
schemeStorage
- theCachingScheme
defining the storage scheme for the topictopicScheme
- thePagedTopicScheme
defining the topic
-
-
Method Detail
-
realizeMap
public Map realizeMap(ParameterResolver resolver, MapBuilder.Dependencies dependencies)
Description copied from interface:MapBuilder
Realize aMap
based on the state of theMapBuilder
, resolvable parameters and providedMapBuilder.Dependencies
.- Specified by:
realizeMap
in interfaceMapBuilder
- Overrides:
realizeMap
in classWrapperCachingScheme
- Parameters:
resolver
- theParameterResolver
dependencies
- theMapBuilder.Dependencies
for realizing theMap
- Returns:
- a
Map
-
realizeCache
public NamedCache realizeCache(ParameterResolver resolver, MapBuilder.Dependencies dependencies)
Description copied from interface:NamedCacheBuilder
Realizes aNamedCache
(possibly "ensuring it") based on the state of the builder, the providedParameterResolver
andMapBuilder
dependencies.The
MapBuilder
dependencies are required to satisfy the requirement when realizing aNamedCache
additionally involves realizing one or more internalMap
s.- Specified by:
realizeCache
in interfaceNamedCacheBuilder
- Overrides:
realizeCache
in classWrapperCachingScheme
- Parameters:
resolver
- the ParameterResolverdependencies
- theMapBuilder
dependencies- Returns:
- a
NamedCache
-
-