public class GridDataLoaderProcessor<K,V> extends GridProcessorAdapter
ctx, log| Constructor and Description |
|---|
GridDataLoaderProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
GridDataLoader<K,V> |
dataLoader(String cacheName) |
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, onDiscoveryDataReceived, onKernalStart, stop, toString, validateNodepublic GridDataLoaderProcessor(GridKernalContext ctx)
ctx - Kernal context.public void start()
throws GridException
start in interface GridComponentstart in class GridProcessorAdapterGridException - 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 GridDataLoader<K,V> dataLoader(@Nullable String cacheName)
cacheName - Cache name (null for default cache).public void printMemoryStats()
printMemoryStats in interface GridComponentprintMemoryStats in class GridProcessorAdapterCopyright © 2014. All rights reserved.