public class GridRestProcessor extends GridProcessorAdapter
GridComponent.DiscoveryDataExchangeType| Modifier and Type | Field and Description |
|---|---|
protected Map<GridRestCommand,GridRestCommandHandler> |
handlers
Command handlers.
|
static byte[] |
ZERO_BYTES |
ctx, log| Constructor and Description |
|---|
GridRestProcessor(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 |
printMemoryStats()
Prints memory statistics (sizes of internal structures, etc.).
|
void |
start()
Starts grid component.
|
assertParameter, collectDiscoveryData, discoveryDataType, onDisconnected, onDiscoveryDataReceived, onReconnected, stop, toString, validateNodepublic static final byte[] ZERO_BYTES
protected final Map<GridRestCommand,GridRestCommandHandler> handlers
public GridRestProcessor(GridKernalContext ctx)
ctx - Context.public void start()
throws IgniteCheckedException
start in interface GridComponentstart in class GridProcessorAdapterIgniteCheckedException - Throws in case of any errors.public void onKernalStart()
throws IgniteCheckedException
onKernalStart in interface GridComponentonKernalStart in class GridProcessorAdapterIgniteCheckedException - Thrown 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 printMemoryStats()
printMemoryStats in interface GridComponentprintMemoryStats in class GridProcessorAdapter
Follow @ApacheIgnite
Ignite Fabric : ver. 1.4.0 Release Date : September 24 2015