public class GridFailoverManager extends GridManagerAdapter<GridFailoverSpi>
ctx, log| Constructor and Description |
|---|
GridFailoverManager(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
GridNode |
failover(GridTaskSessionImpl taskSes,
GridComputeJobResult jobRes,
List<GridNode> top) |
void |
start()
Starts grid component.
|
void |
stop(boolean cancel)
Stops grid component.
|
addSpiAttributes, assertParameter, collectDiscoveryData, enabled, getSpi, getSpi, getSpis, onDiscoveryDataReceived, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, printMemoryStats, startInfo, startSpi, stopInfo, stopSpi, toString, validateNodepublic GridFailoverManager(GridKernalContext ctx)
ctx - Kernal context.public void start()
throws GridException
GridException - Throws in case of any errors.public void stop(boolean cancel)
throws GridException
cancel - If true, then all ongoing tasks or jobs for relevant
components need to be cancelled.GridException - Thrown in case of any errors.public GridNode failover(GridTaskSessionImpl taskSes, GridComputeJobResult jobRes, List<GridNode> top)
taskSes - Task session.jobRes - Job result.top - Collection of all top nodes that does not include the failed node.Copyright © 2014. All rights reserved.