Package org.apache.unomi.rest.endpoints
Class ClusterServiceEndPoint
java.lang.Object
org.apache.unomi.rest.endpoints.ClusterServiceEndPoint
A JAX-RS endpoint to access information about the context server's cluster.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteScopedData(String scope) Removes all data associated with the provided scope.Retrieves the list of available nodes for this context server instance.voidDeprecated.voidsetClusterService(ClusterService clusterService) voidsetMessageContext(org.apache.cxf.jaxrs.ext.MessageContext messageContext)
-
Constructor Details
-
ClusterServiceEndPoint
public ClusterServiceEndPoint()
-
-
Method Details
-
setClusterService
-
setMessageContext
public void setMessageContext(org.apache.cxf.jaxrs.ext.MessageContext messageContext) -
getClusterNodes
Retrieves the list of available nodes for this context server instance.- Returns:
- a list of
ClusterNode
-
purge
Deprecated.Removes all data before the specified date from the context server.- Parameters:
date- the Date before which all data needs to be removed
-
deleteScopedData
Removes all data associated with the provided scope.- Parameters:
scope- the scope for which we want to remove data
-