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 TypeMethodDescriptionvoid
deleteScopedData
(String scope) Removes all data associated with the provided scope.Retrieves the list of available nodes for this context server instance.void
Deprecated.void
setClusterService
(ClusterService clusterService) void
setMessageContext
(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
-