Apache Ignite.NET
Apache.Ignite.Core.Plugin.IPluginProvider< in in TConfig > Interface Template Reference

Pluggable Ignite component. Should have parameterless constructor. More...

Public Member Functions

GetPlugin< T > ()
 Gets the plugin instance. More...
 
void Start (IPluginContext< TConfig > context)
 Starts the plugin provider. More...
 
void Stop (bool cancel)
 Stops the plugin provider. More...
 
void OnIgniteStart ()
 Called when Ignite has been started and is fully functional. More...
 
void OnIgniteStop (bool cancel)
 Callback to notify that Ignite is about to stop. More...
 

Properties

string Name [get]
 Gets the plugin name. Plugins can be retrieved by name via IIgnite.GetPlugin<T>. More...
 
string Copyright [get]
 Gets the copyright information. More...
 

Detailed Description

Ignite plugins are loaded according to IgniteConfiguration.PluginConfigurations.

Type Constraints
TConfig :IPluginConfiguration 

Member Function Documentation

T Apache.Ignite.Core.Plugin.IPluginProvider< in in TConfig >.GetPlugin< T > ( )
Template Parameters
TPlugin instance type.
Returns
Plugin instance.
Type Constraints
T :class 
void Apache.Ignite.Core.Plugin.IPluginProvider< in in TConfig >.OnIgniteStart ( )
void Apache.Ignite.Core.Plugin.IPluginProvider< in in TConfig >.OnIgniteStop ( bool  cancel)
Parameters
cancelif set to true, all ongoing operations should be canceled.
void Apache.Ignite.Core.Plugin.IPluginProvider< in in TConfig >.Start ( IPluginContext< TConfig >  context)

IPluginContext<T>.Ignite can be null until OnIgniteStart is called.

Parameters
contextThe context.
void Apache.Ignite.Core.Plugin.IPluginProvider< in in TConfig >.Stop ( bool  cancel)
Parameters
cancelif set to true, all ongoing operations should be canceled.

Property Documentation

string Apache.Ignite.Core.Plugin.IPluginProvider< in in TConfig >.Copyright
get
string Apache.Ignite.Core.Plugin.IPluginProvider< in in TConfig >.Name
get