public class ClusterProcessor extends GridProcessorAdapter
GridComponent.DiscoveryDataExchangeTypectx, log| Constructor and Description |
|---|
ClusterProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
IgniteFuture<?> |
clientReconnectFuture() |
Serializable |
collectDiscoveryData(UUID nodeId)
Gets discovery data object that will be sent to new node
during discovery process.
|
void |
disableUpdateNotifier()
Disables update notifier.
|
GridComponent.DiscoveryDataExchangeType |
discoveryDataType()
Gets unique component type to distinguish components providing discovery data.
|
IgniteClusterImpl |
get() |
String |
latestVersion() |
void |
onDiscoveryDataReceived(UUID joiningNodeId,
UUID rmtNodeId,
Serializable data)
Receives discovery data object from remote nodes (called
on new node during discovery process).
|
void |
onKernalStart()
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
stop(boolean cancel)
Stops grid component.
|
boolean |
updateNotifierEnabled() |
assertParameter, onDisconnected, onKernalStop, onReconnected, printMemoryStats, start, toString, validateNodepublic ClusterProcessor(GridKernalContext ctx)
ctx - Kernal context.public IgniteClusterImpl get()
public IgniteFuture<?> clientReconnectFuture()
@Nullable public GridComponent.DiscoveryDataExchangeType discoveryDataType()
GridComponent.collectDiscoveryData(UUID).discoveryDataType in interface GridComponentdiscoveryDataType in class GridProcessorAdapter@Nullable public Serializable collectDiscoveryData(UUID nodeId)
collectDiscoveryData in interface GridComponentcollectDiscoveryData in class GridProcessorAdapternodeId - ID of new node that joins topology.null if there is nothing
to send for this component.public void onDiscoveryDataReceived(UUID joiningNodeId, UUID rmtNodeId, Serializable data)
onDiscoveryDataReceived in interface GridComponentonDiscoveryDataReceived in class GridProcessorAdapterjoiningNodeId - Joining node ID.rmtNodeId - Remote node ID for which data is provided.data - Discovery data object or null if nothing waspublic void onKernalStart()
throws IgniteCheckedException
onKernalStart in interface GridComponentonKernalStart in class GridProcessorAdapterIgniteCheckedException - Thrown in case of any errors.public void stop(boolean cancel)
throws IgniteCheckedException
stop in interface GridComponentstop in class GridProcessorAdaptercancel - If true, then all ongoing tasks or jobs for relevant
components need to be cancelled.IgniteCheckedException - Thrown in case of any errors.public void disableUpdateNotifier()
public boolean updateNotifierEnabled()
public String latestVersion()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016