public interface CacheService
CacheEndpoint
.Modifier and Type | Method and Description |
---|---|
void |
delete(String cacheName,
String cacheKey) |
String |
getAllKeys(String cacheName) |
org.codehaus.jackson.JsonNode |
getCacheContent(String cacheName,
String cacheKey) |
org.codehaus.jackson.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") org.codehaus.jackson.JsonNode getCacheSize(@PathParam(value="cacheName") String cacheName)
@GET @Path(value="/{cacheName}/download") org.codehaus.jackson.JsonNode getCacheContent(@PathParam(value="cacheName") String cacheName, @QueryParam(value="cacheKey") String cacheKey)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.