public class GridTcpRestProtocol extends GridRestProtocolAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
REST_CONNECTOR_METRIC_REGISTRY_NAME
The name of the metric registry associated with the REST TCP connector.
|
| Constructor and Description |
|---|
GridTcpRestProtocol(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAddressPropertyName()
Return node attribute name to store used address.
|
protected String |
getHostNamePropertyName()
Return node attribute name to store used host name.
|
protected String |
getPortPropertyName()
Return node attribute name to store used port number.
|
String |
name() |
void |
onProcessorStart()
Processor start callback.
|
void |
start(GridRestProtocolHandler hnd)
Starts protocol.
|
void |
stop()
Stops protocol.
|
assertParameter, authenticate, config, getProperties, onKernalStart, startInfo, stopInfopublic static final String REST_CONNECTOR_METRIC_REGISTRY_NAME
public GridTcpRestProtocol(GridKernalContext ctx)
ctx - Context.public String name()
public void start(GridRestProtocolHandler hnd) throws IgniteCheckedException
hnd - Command handler.IgniteCheckedException - If failed.public void onProcessorStart()
onProcessorStart in interface GridRestProtocolonProcessorStart in class GridRestProtocolAdapterpublic void stop()
protected String getAddressPropertyName()
getAddressPropertyName in class GridRestProtocolAdapterprotected String getHostNamePropertyName()
getHostNamePropertyName in class GridRestProtocolAdapterprotected String getPortPropertyName()
getPortPropertyName in class GridRestProtocolAdapter
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023