public class ClientListenerProcessor extends GridProcessorAdapter
GridComponent.DiscoveryDataExchangeType| Modifier and Type | Field and Description |
|---|---|
static AtomicLong |
CANCEL_COUNTER
Cancel counter.
|
static String |
CLI_CONN_VIEW |
static String |
CLI_CONN_VIEW_DESC |
static String |
CLIENT_LISTENER_PORT
Client listener port.
|
static ClientConnectorConfiguration |
DFLT_CLI_CFG
Default client connector configuration.
|
ctx, diagnosticLog, log| Constructor and Description |
|---|
ClientListenerProcessor(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
onKernalStart(boolean active)
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.
|
int |
port() |
void |
start()
Starts grid component.
|
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onReconnected, printMemoryStats, stop, toString, validateNode, validateNodepublic static final String CLI_CONN_VIEW
public static final String CLI_CONN_VIEW_DESC
public static final ClientConnectorConfiguration DFLT_CLI_CFG
public static final String CLIENT_LISTENER_PORT
public static final AtomicLong CANCEL_COUNTER
public ClientListenerProcessor(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 onKernalStart(boolean active)
throws IgniteCheckedException
onKernalStart in interface GridComponentonKernalStart in class GridProcessorAdapteractive - Cluster active flag (note: should be used carefully since state can
change concurrently).IgniteCheckedException - 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 int port()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020