Class ClusterServiceEndPoint

  • @Produces("application/json")
    public class ClusterServiceEndPoint
    extends Object
    A JAX-RS endpoint to access information about the context server's cluster.
    • Constructor Detail

      • ClusterServiceEndPoint

        public ClusterServiceEndPoint()
    • Method Detail

      • setClusterService

        public void setClusterService​(ClusterService clusterService)
      • setMessageContext

        public void setMessageContext​(org.apache.cxf.jaxrs.ext.MessageContext messageContext)
      • getClusterNodes

        public List<ClusterNode> getClusterNodes()
        Retrieves the list of available nodes for this context server instance.
        a list of ClusterNode
      • purge

        public void purge​(@PathParam("date")
                          String date)
        Removes all data before the specified date from the context server.
        date - the Date before which all data needs to be removed
      • deleteScopedData

        public void deleteScopedData​(@PathParam("scope")
                                     String scope)
        Removes all data associated with the provided scope.
        scope - the scope for which we want to remove data