@Produces(value="application/json") @Path(value="/cluster") public class ClusterServiceEndPoint extends Object
Constructor and Description |
---|
ClusterServiceEndPoint() |
Modifier and Type | Method and Description |
---|---|
void |
deleteScopedData(String scope)
Removes all data associated with the provided scope.
|
List<ClusterNode> |
getClusterNodes()
Retrieves the list of available nodes for this context server instance.
|
void |
purge(String date)
Deprecated.
|
void |
setClusterService(ClusterService clusterService) |
void |
setMessageContext(org.apache.cxf.jaxrs.ext.MessageContext messageContext) |
public void setClusterService(ClusterService clusterService)
public void setMessageContext(org.apache.cxf.jaxrs.ext.MessageContext messageContext)
@GET @Path(value="/") public List<ClusterNode> getClusterNodes()
ClusterNode
@GET @Path(value="/purge/{date}") @Deprecated public void purge(@PathParam(value="date") String date)
date
- the Date before which all data needs to be removed@DELETE @Path(value="{scope}") public void deleteScopedData(@PathParam(value="scope") String scope)
scope
- the scope for which we want to remove dataCopyright © 2014–2023 Apache Software Foundation. All rights reserved.