Package com.xebialabs.xlrelease.api.v1
Interface CacheManagementApi
@Path("/api/v1/caches")
@Consumes("application/json")
@Produces("application/json")
public interface CacheManagementApi
Operations on caches
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears all caches.void
clearCacheGroup
(String cacheGroup) Clears all caches for the particular cache group.Lists available cache groups.
-
Method Details
-
listCacheGroups
Lists available cache groups.- Returns:
- list of cache groups
-
clearAllCacheGroups
@DELETE @Path("/groups") void clearAllCacheGroups()Clears all caches. -
clearCacheGroup
@DELETE @Path("/groups/{cacheGroup}") void clearCacheGroup(@PathParam("cacheGroup") String cacheGroup) Clears all caches for the particular cache group.- Parameters:
cacheGroup
- the cache group to clear
-