Class AbstractCachingScheme.CacheDequeBuilder
java.lang.Object
com.tangosol.coherence.config.scheme.AbstractCachingScheme.CacheDequeBuilder
- All Implemented Interfaces:
NamedCollectionBuilder<com.tangosol.internal.net.queue.NamedCacheDeque>
- Enclosing class:
AbstractCachingScheme<D extends ServiceDependencies>
public class AbstractCachingScheme.CacheDequeBuilder
extends Object
implements NamedCollectionBuilder<com.tangosol.internal.net.queue.NamedCacheDeque>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E> com.tangosol.internal.net.queue.NamedCacheDequerealize(ValueTypeAssertion<E> typeConstraint, ParameterResolver resolver, MapBuilder.Dependencies dependencies) Realizes aNamedCollection(possibly "ensuring it") based on the state of the builder, the providedParameterResolverandMapBuilderdependencies.<T extends NamedCollection>
booleanDetermines whether thisNamedCollectionBuildercan realize aNamedCollectionof the specified type.
-
Constructor Details
-
CacheDequeBuilder
public CacheDequeBuilder()
-
-
Method Details
-
realize
public <E> com.tangosol.internal.net.queue.NamedCacheDeque realize(ValueTypeAssertion<E> typeConstraint, ParameterResolver resolver, MapBuilder.Dependencies dependencies) Description copied from interface:NamedCollectionBuilderRealizes aNamedCollection(possibly "ensuring it") based on the state of the builder, the providedParameterResolverandMapBuilderdependencies.The
MapBuilderdependencies are required to satisfy the requirement when realizing aNamedCollectionadditionally involves realizing one or more internalMaps.- Specified by:
realizein interfaceNamedCollectionBuilder<com.tangosol.internal.net.queue.NamedCacheDeque>- Type Parameters:
E- the element type ofNamedCollection- Parameters:
typeConstraint- type constraint assertion for elements of thisNamedCollectionresolver- the ParameterResolverdependencies- theMapBuilderdependencies- Returns:
- a
NamedCollection
-
realizes
Description copied from interface:NamedCollectionBuilderDetermines whether thisNamedCollectionBuildercan realize aNamedCollectionof the specified type.- Specified by:
realizesin interfaceNamedCollectionBuilder<com.tangosol.internal.net.queue.NamedCacheDeque>- Type Parameters:
T- the type of the class to verify- Parameters:
type- theClassof the type to verify- Returns:
- true if this builder can realize a
NamedCollectionof the specified type.
-