Interface NamedCollectionBuilder<C extends NamedCollection>
-
- All Known Subinterfaces:
NamedTopicScheme,TopicScheme<C,S>
- All Known Implementing Classes:
PagedTopicScheme
public interface NamedCollectionBuilder<C extends NamedCollection>ANamedCollectionBuilderrealizesNamedCollections.- Since:
- Coherence 14.1.1
- Author:
- jk 2015.06.27
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <E> Crealize(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>
booleanrealizes(Class<T> type)Determines whether thisNamedCollectionBuildercan realize aNamedCollectionof the specified type.
-
-
-
Method Detail
-
realize
<E> C realize(ValueTypeAssertion<E> typeConstraint, ParameterResolver resolver, MapBuilder.Dependencies dependencies)
Realizes 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.- Type Parameters:
E- the element type ofNamedCollection- Parameters:
typeConstraint- type constraint assertion for elements of thisNamedCollectionresolver- the ParameterResolverdependencies- theMapBuilderdependencies- Returns:
- a
NamedCollection
-
realizes
<T extends NamedCollection> boolean realizes(Class<T> type)
Determines whether thisNamedCollectionBuildercan realize aNamedCollectionof the specified type.- 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.
-
-