public class GridFailoverManager extends GridManagerAdapter<FailoverSpi>
GridComponent.DiscoveryDataExchangeTypectx, log| Constructor and Description |
|---|
GridFailoverManager(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
ClusterNode |
failover(GridTaskSessionImpl taskSes,
ComputeJobResult jobRes,
List<ClusterNode> top) |
void |
start()
Starts grid component.
|
void |
stop(boolean cancel)
Stops grid component.
|
assertParameter, collectDiscoveryData, discoveryDataType, enabled, getSpi, getSpi, getSpis, onAfterSpiStart, onBeforeSpiStart, onDiscoveryDataReceived, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, printMemoryStats, startInfo, startSpi, stopInfo, stopSpi, toString, validateNodepublic GridFailoverManager(GridKernalContext ctx)
ctx - Kernal context.public void start()
throws IgniteCheckedException
IgniteCheckedException - Throws in case of any errors.public void stop(boolean cancel)
throws IgniteCheckedException
cancel - If true, then all ongoing tasks or jobs for relevant
components need to be cancelled.IgniteCheckedException - Thrown in case of any errors.public ClusterNode failover(GridTaskSessionImpl taskSes, ComputeJobResult jobRes, List<ClusterNode> top)
taskSes - Task session.jobRes - Job result.top - Collection of all top nodes that does not include the failed node.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015