Package io.antmedia.console.rest
Class ClusterRestService
java.lang.Object
io.antmedia.console.rest.ClusterRestServiceV2
io.antmedia.console.rest.ClusterRestService
-
Field Summary
Modifier and TypeFieldDescriptionprotected static org.slf4j.Logger
private jakarta.servlet.ServletContext
-
Constructor Summary
-
Method Summary
Methods inherited from class io.antmedia.console.rest.ClusterRestServiceV2
getClusterStore
-
Field Details
-
logger
protected static org.slf4j.Logger logger -
servletContext
@Context private jakarta.servlet.ServletContext servletContext
-
-
Constructor Details
-
ClusterRestService
public ClusterRestService()
-
-
Method Details
-
getNodeCount
- Overrides:
getNodeCount
in classClusterRestServiceV2
-
getNodeList
@GET @Path("/nodes/{offset}/{size}") @Produces("application/json") public List<ClusterNode> getNodeList(@PathParam("offset") int offset, @PathParam("size") int size) - Overrides:
getNodeList
in classClusterRestServiceV2
-
deleteNode
@GET @Path("/deleteNode/{id}") @Produces("application/json") public Result deleteNode(@PathParam("id") String nodeId) - Overrides:
deleteNode
in classClusterRestServiceV2
-