public class YarnContainerRegisterMvcEndpoint
extends org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter
MvcEndpoint adding specific rest API used to
handle graceful YARN application shutdown.| Constructor and Description |
|---|
YarnContainerRegisterMvcEndpoint(YarnContainerRegisterEndpoint delegate)
Instantiates a new yarn container register mvc endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
invoke() |
org.springframework.http.HttpEntity<java.lang.Void> |
register(ContainerRegisterResource request) |
public YarnContainerRegisterMvcEndpoint(YarnContainerRegisterEndpoint delegate)
delegate - the delegate endpoint@RequestMapping(method=GET) @ResponseBody public java.lang.Object invoke()
invoke in class org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter@RequestMapping(method=POST)
public org.springframework.http.HttpEntity<java.lang.Void> register(@RequestBody
ContainerRegisterResource request)