public class GridCollisionManager extends GridManagerAdapter<CollisionSpi>
GridComponent.DiscoveryDataExchangeTypectx, log| Constructor and Description |
|---|
GridCollisionManager(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
onCollision(Collection<CollisionJobContext> waitJobs,
Collection<CollisionJobContext> activeJobs,
Collection<CollisionJobContext> heldJobs) |
void |
setCollisionExternalListener(CollisionExternalListener lsnr) |
void |
start()
Starts grid component.
|
void |
stop(boolean cancel)
Stops grid component.
|
void |
unsetCollisionExternalListener()
Unsets external collision listener.
|
assertParameter, collectDiscoveryData, discoveryDataType, enabled, getSpi, getSpi, getSpis, onAfterSpiStart, onBeforeSpiStart, onDisconnected, onDiscoveryDataReceived, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, onReconnected, printMemoryStats, startInfo, startSpi, stopInfo, stopSpi, toString, validateNodepublic GridCollisionManager(GridKernalContext ctx)
ctx - Grid 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 void unsetCollisionExternalListener()
public void setCollisionExternalListener(@Nullable
CollisionExternalListener lsnr)
lsnr - Listener to external collision events.public void onCollision(Collection<CollisionJobContext> waitJobs, Collection<CollisionJobContext> activeJobs, Collection<CollisionJobContext> heldJobs)
waitJobs - List of waiting jobs.activeJobs - List of active jobs.heldJobs - List of held jobs.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016