Package org.apache.ignite.plugin
Interface CacheTopologyValidatorProvider
-
- All Superinterfaces:
Extension
public interface CacheTopologyValidatorProvider extends Extension
TheCacheTopologyValidatorProvideris used to pass an implementation ofTopologyValidators for a specific cache through Ignite plugin extensions mechanism. Each cache, on startup, iterates over all registeredCacheTopologyValidatorProviders and tries to obtain the instance ofTopologyValidatorby cache name. All obtainedTopologyValidators are saved in the cache context and successively called during topology validation process. The topology validation is passed if allTopologyValidators consider that the current topology is valid.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TopologyValidatortopologyValidator(String cacheName)Provides instance ofTopologyValidatorfor the cache with specified name.
-
-
-
Method Detail
-
topologyValidator
TopologyValidator topologyValidator(String cacheName)
Provides instance ofTopologyValidatorfor the cache with specified name.- Parameters:
cacheName- Name of the cache or cache group.- Returns:
- Instance of topology validator for the cache with specified name.
-
-