Interface GridRestProtocol
-
- All Known Implementing Classes:
GridRestProtocolAdapter,GridTcpRestProtocol
public interface GridRestProtocolREST protocol.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<IgniteBiTuple<String,Object>>getProperties()Returns protocol properties for setting node attributes.Stringname()voidonKernalStart()Grid start callback.voidonProcessorStart()Processor start callback.voidstart(GridRestProtocolHandler hnd)Starts protocol.voidstop()Stops protocol.
-
-
-
Method Detail
-
name
String name()
- Returns:
- Protocol name.
-
getProperties
Collection<IgniteBiTuple<String,Object>> getProperties()
Returns protocol properties for setting node attributes. Has meaningful result only after protocol start.- Returns:
- Protocol properties.
-
start
void start(GridRestProtocolHandler hnd) throws IgniteCheckedException
Starts protocol.- Parameters:
hnd- Command handler.- Throws:
IgniteCheckedException- If failed.
-
onKernalStart
void onKernalStart()
Grid start callback.
-
stop
void stop()
Stops protocol.
-
onProcessorStart
void onProcessorStart()
Processor start callback.
-
-