public class GridStreamProcessor extends GridProcessorAdapter
GridComponent.DiscoveryDataExchangeTypectx, log| Constructor and Description |
|---|
GridStreamProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
onKernalStart()
Callback that notifies that kernal has successfully started,
including all managers and processors.
|
void |
onKernalStop(boolean cancel)
Callback to notify that kernal is about to stop.
|
void |
onUndeployed(ClassLoader ldr)
Callback for undeployed class loaders.
|
void |
start()
Starts grid component.
|
void |
stop(boolean cancel)
Stops grid component.
|
IgniteStreamer |
streamer() |
IgniteStreamer |
streamer(String name) |
Collection<IgniteStreamer> |
streamers() |
assertParameter, collectDiscoveryData, discoveryDataType, onDiscoveryDataReceived, printMemoryStats, toString, validateNodepublic GridStreamProcessor(GridKernalContext ctx)
ctx - Kernal context.public void onKernalStart()
throws IgniteCheckedException
onKernalStart in interface GridComponentonKernalStart in class GridProcessorAdapterIgniteCheckedException - Thrown in case of any errors.public void start()
throws IgniteCheckedException
start in interface GridComponentstart in class GridProcessorAdapterIgniteCheckedException - Throws in case of any errors.public void onKernalStop(boolean cancel)
onKernalStop in interface GridComponentonKernalStop in class GridProcessorAdaptercancel - Flag indicating whether jobs should be canceled.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 IgniteStreamer streamer()
public IgniteStreamer streamer(@Nullable String name)
name - Streamer name.public Collection<IgniteStreamer> streamers()
public void onUndeployed(ClassLoader ldr)
ldr - Class loader.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015