public interface CacheService
CacheEndpoint
.Modifier and Type | Method and Description |
---|---|
void |
delete(String cacheName,
String cacheKey) |
String |
getAllKeys(String cacheName) |
com.fasterxml.jackson.databind.JsonNode |
getCacheContent(String cacheName,
String cacheKey) |
com.fasterxml.jackson.databind.JsonNode |
getCacheSize(String cacheName) |
String |
getKeys(String cacheName,
int offset,
int pageLength,
String sortOrder,
String sortProperty) |
String |
ping() |
@GET @Path(value="/ping") String ping()
@GET @Path(value="/{cacheName}/getAll") String getAllKeys(@PathParam(value="cacheName") String cacheName)
@GET @Path(value="/{cacheName}/get") String getKeys(@PathParam(value="cacheName") String cacheName, @QueryParam(value="offset") int offset, @QueryParam(value="pageLength") int pageLength, @QueryParam(value="sortOrder") String sortOrder, @QueryParam(value="sortProperty") String sortProperty)
@GET @Path(value="/{cacheName}/size") com.fasterxml.jackson.databind.JsonNode getCacheSize(@PathParam(value="cacheName") String cacheName)
@GET @Path(value="/{cacheName}/download") com.fasterxml.jackson.databind.JsonNode getCacheContent(@PathParam(value="cacheName") String cacheName, @QueryParam(value="cacheKey") String cacheKey)
Copyright © 2020 Magnolia International Ltd.. All rights reserved.