public interface CachePluginProvider<C extends CachePluginConfiguration>
CachePluginConfiguration.| Modifier and Type | Method and Description |
|---|---|
<T> T |
createComponent(Class<T> cls) |
void |
onIgniteStart()
Callback that notifies that Ignite has successfully started,
including all internal components.
|
void |
onIgniteStop(boolean cancel)
Callback to notify that Ignite is about to stop.
|
void |
start()
Starts grid component.
|
void |
stop(boolean cancel)
Stops grid component.
|
<T,K,V> T |
unwrapCacheEntry(javax.cache.Cache.Entry<K,V> entry,
Class<T> cls)
Unwrap entry to specified type.
|
void |
validate()
Validates cache plugin configuration in process of cache creation.
|
void |
validateRemote(CacheConfiguration locCfg,
CacheConfiguration rmtCfg,
ClusterNode rmtNode)
Checks that remote caches has configuration compatible with the local.
|
void start()
throws IgniteCheckedException
IgniteCheckedException - Throws in case of any errors.void stop(boolean cancel)
cancel - If true, then all ongoing tasks or jobs for relevant
components need to be cancelled.void onIgniteStart()
throws IgniteCheckedException
IgniteCheckedException - Thrown in case of any errors.void onIgniteStop(boolean cancel)
cancel - Flag indicating whether jobs should be canceled.<T> T createComponent(Class<T> cls)
cls - Ignite component class.null if component is not supported
(default Ignite component will be used).<T,K,V> T unwrapCacheEntry(javax.cache.Cache.Entry<K,V> entry, Class<T> cls)
javax.cache.Cache.Entry.unwrap(Class).entry - Mutable entry to unwrap.cls - Type of the expected component.null if it's not available
(default Ignite unwrap will be used).void validate()
throws IgniteCheckedException
IgniteCheckedException - If validation failed.void validateRemote(CacheConfiguration locCfg, CacheConfiguration rmtCfg, ClusterNode rmtNode) throws IgniteCheckedException
locCfg - Local configuration.rmtCfg - Remote configuration.rmtNode - Remote node.IgniteCheckedException
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025