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,
int affPartId,
@Nullable String affCacheName,
@Nullable AffinityTopologyVersion topVer) |
void |
start()
Starts grid component.
|
void |
stop(boolean cancel)
Stops grid component.
|
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, enabled, getSpi, getSpi, getSpis, inject, onAfterSpiStart, onBeforeSpiStart, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, onReconnected, printMemoryStats, startInfo, startSpi, stopInfo, stopSpi, toString, validateNode, 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, int affPartId, @Nullable @Nullable String affCacheName, @Nullable @Nullable AffinityTopologyVersion topVer)
taskSes - Task session.jobRes - Job result.top - Collection of all topology nodes.affPartId - Partition number.affCacheName - Affinity cache name.topVer - Affinity topology version.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020