Package org.apache.ignite.plugin
Interface CacheTopologyValidatorProvider
-
- All Superinterfaces:
Extension
public interface CacheTopologyValidatorProvider extends Extension
TheCacheTopologyValidatorProvider
is used to pass an implementation ofTopologyValidator
s for a specific cache through Ignite plugin extensions mechanism. Each cache, on startup, iterates over all registeredCacheTopologyValidatorProvider
s and tries to obtain the instance ofTopologyValidator
by cache name. All obtainedTopologyValidator
s are saved in the cache context and successively called during topology validation process. The topology validation is passed if allTopologyValidator
s consider that the current topology is valid.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TopologyValidator
topologyValidator(String cacheName)
Provides instance ofTopologyValidator
for the cache with specified name.
-
-
-
Method Detail
-
topologyValidator
TopologyValidator topologyValidator(String cacheName)
Provides instance ofTopologyValidator
for 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.
-
-