Modifier and Type | Method and Description |
---|---|
static <T extends IdentifiedDataSerializable> |
searcherFor(Config staticConfig,
ConfigurationService configurationService,
ConfigPatternMatcher configPatternMatcher,
boolean isStaticFirst)
Factory method for creating
Searcher instances |
static <T extends IdentifiedDataSerializable> |
supplierFor(Class<T> cls)
Factory method for providing
ConfigSupplier instances for the given config class |
@Nullable public static <T extends IdentifiedDataSerializable> ConfigSupplier<T> supplierFor(@Nonnull Class<T> cls)
ConfigSupplier
instances for the given config classT
- type of config classcls
- class of the config we're looking forConfigSupplier
config supplier for the given config typeGroupProperty.SEARCH_DYNAMIC_CONFIG_FIRST
@Nonnull public static <T extends IdentifiedDataSerializable> Searcher<T> searcherFor(@Nonnull Config staticConfig, @Nonnull ConfigurationService configurationService, @Nonnull ConfigPatternMatcher configPatternMatcher, boolean isStaticFirst)
Searcher
instancesT
- type of config classstaticConfig
- hazelcast static configconfigurationService
- configuration serviceisStaticFirst
- true
if Searcher
should look into static config first, and
false
otherwise.Searcher
for the given config type and conditionsGroupProperty.SEARCH_DYNAMIC_CONFIG_FIRST
,
ConfigSupplier
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.