public interface Cache
Modifier and Type | Interface and Description |
---|---|
static class |
Cache.NamedKey |
Modifier and Type | Method and Description |
---|---|
void |
close(String namespace) |
byte[] |
get(Cache.NamedKey key) |
Map<Cache.NamedKey,byte[]> |
getBulk(Iterable<Cache.NamedKey> keys) |
CacheStats |
getStats() |
boolean |
isLocal() |
void |
put(Cache.NamedKey key,
byte[] value) |
byte[] get(Cache.NamedKey key)
void put(Cache.NamedKey key, byte[] value)
Map<Cache.NamedKey,byte[]> getBulk(Iterable<Cache.NamedKey> keys)
void close(String namespace)
CacheStats getStats()
boolean isLocal()
Copyright © 2011–2015. All rights reserved.