public class DataStreamProcessor<K,V> extends GridProcessorAdapter
GridComponent.DiscoveryDataExchangeTypectx, diagnosticLog, log| Constructor and Description |
|---|
DataStreamProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
DataStreamerImpl<K,V> |
dataStreamer(@Nullable String cacheName) |
static byte |
ioPolicy(@Nullable IgniteClosure<ClusterNode,Byte> rslvr,
ClusterNode node)
Get IO policy for particular node with provided resolver.
|
void |
onDisconnected(IgniteFuture<?> reconnectFut)
Client disconnected callback.
|
void |
onKernalStop(boolean cancel)
Callback to notify that kernal is about to stop.
|
void |
printMemoryStats()
Prints memory statistics (sizes of internal structures, etc.).
|
void |
start()
Starts grid component.
|
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onReconnected, stop, toString, validateNode, validateNodepublic DataStreamProcessor(GridKernalContext ctx)
ctx - Kernal context.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 onDisconnected(IgniteFuture<?> reconnectFut) throws IgniteCheckedException
onDisconnected in interface GridComponentonDisconnected in class GridProcessorAdapterreconnectFut - Reconnect future.IgniteCheckedException - If failed.public DataStreamerImpl<K,V> dataStreamer(@Nullable @Nullable String cacheName)
cacheName - Cache name (null for default cache).public static byte ioPolicy(@Nullable
@Nullable IgniteClosure<ClusterNode,Byte> rslvr,
ClusterNode node)
rslvr - Resolver.node - Node.public void printMemoryStats()
printMemoryStats in interface GridComponentprintMemoryStats in class GridProcessorAdapter
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021