public class GridTcpRestProtocol extends GridRestProtocolAdapter
| 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 |
onKernalStart()
Grid start callback.
|
void |
start(GridRestProtocolHandler hnd)
Starts protocol.
|
void |
stop()
Stops protocol.
|
assertParameter, authenticate, config, getProperties, startInfo, stopInfopublic GridTcpRestProtocol(GridKernalContext ctx)
ctx - Context.public String name()
public void start(GridRestProtocolHandler hnd) throws IgniteCheckedException
hnd - Command handler.IgniteCheckedException - If failed.public void onKernalStart()
onKernalStart in interface GridRestProtocolonKernalStart 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.8.1 Release Date : May 21 2020