public class GridDataLoaderProcessor<K,V> extends GridProcessorAdapter
GridComponent.DiscoveryDataExchangeTypectx, log| Constructor and Description |
|---|
GridDataLoaderProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
IgniteDataLoader<K,V> |
dataLoader(String cacheName) |
IgniteDataLoaderImpl<K,V> |
dataLoader(String cacheName,
boolean compact) |
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.
|
addAttributes, assertParameter, collectDiscoveryData, discoveryDataType, onDiscoveryDataReceived, onKernalStart, stop, toString, validateNodepublic GridDataLoaderProcessor(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 IgniteDataLoaderImpl<K,V> dataLoader(@Nullable String cacheName, boolean compact)
cacheName - Cache name (null for default cache).compact - true if data loader should transfer data in compact format.public IgniteDataLoader<K,V> dataLoader(@Nullable String cacheName)
cacheName - Cache name (null for default cache).public void printMemoryStats()
printMemoryStats in interface GridComponentprintMemoryStats in class GridProcessorAdapter
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015