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.NamedCacheDeque
realize
(ValueTypeAssertion<E> typeConstraint, ParameterResolver resolver, MapBuilder.Dependencies dependencies) Realizes aNamedCollection
(possibly "ensuring it") based on the state of the builder, the providedParameterResolver
andMapBuilder
dependencies.<T extends NamedCollection>
booleanDetermines whether thisNamedCollectionBuilder
can realize aNamedCollection
of 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:NamedCollectionBuilder
Realizes aNamedCollection
(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 aNamedCollection
additionally involves realizing one or more internalMap
s.- Specified by:
realize
in interfaceNamedCollectionBuilder<com.tangosol.internal.net.queue.NamedCacheDeque>
- Type Parameters:
E
- the element type ofNamedCollection
- Parameters:
typeConstraint
- type constraint assertion for elements of thisNamedCollection
resolver
- the ParameterResolverdependencies
- theMapBuilder
dependencies- Returns:
- a
NamedCollection
-
realizes
Description copied from interface:NamedCollectionBuilder
Determines whether thisNamedCollectionBuilder
can realize aNamedCollection
of the specified type.- Specified by:
realizes
in interfaceNamedCollectionBuilder<com.tangosol.internal.net.queue.NamedCacheDeque>
- Type Parameters:
T
- the type of the class to verify- Parameters:
type
- theClass
of the type to verify- Returns:
- true if this builder can realize a
NamedCollection
of the specified type.
-