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,
Object affKey,
String affCacheName,
AffinityTopologyVersion topVer) |
void |
start()
Starts grid component.
|
void |
stop(boolean cancel)
Stops grid component.
|
assertParameter, collectDiscoveryData, discoveryDataType, enabled, getSpi, getSpi, getSpis, onAfterSpiStart, onBeforeSpiStart, onDisconnected, onDiscoveryDataReceived, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, onReconnected, 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, int affPartId, @Nullable Object affKey, @Nullable String affCacheName, @Nullable AffinityTopologyVersion topVer)
taskSes - Task session.jobRes - Job result.top - Collection of all topology nodes.affPartId - Partition number.affKey - Affinity key.affCacheName - Affinity cache name.topVer - Affinity topology version.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016