public class InfinispanCache extends Object implements ServerCache
| Modifier and Type | Class and Description |
|---|---|
static class |
InfinispanCache.CacheEntry |
ServerCache.Entry| Modifier and Type | Field and Description |
|---|---|
protected org.infinispan.Cache |
cache |
| Constructor and Description |
|---|
InfinispanCache(org.infinispan.Cache cache) |
| Modifier and Type | Method and Description |
|---|---|
ServerCache.Entry |
add(String uri,
MediaType mediaType,
CacheControl cc,
MultivaluedMap<String,Object> headers,
byte[] entity,
String etag) |
void |
clear() |
ServerCache.Entry |
get(String uri,
MediaType accept) |
void |
remove(String uri) |
public ServerCache.Entry get(String uri, MediaType accept)
get in interface ServerCachepublic ServerCache.Entry add(String uri, MediaType mediaType, CacheControl cc, MultivaluedMap<String,Object> headers, byte[] entity, String etag)
add in interface ServerCachepublic void remove(String uri)
remove in interface ServerCachepublic void clear()
clear in interface ServerCacheCopyright © 2013. All Rights Reserved.