Cache.NamedKey
Constructor and Description |
---|
HybridCache(Cache level1,
Cache level2) |
Modifier and Type | Method and Description |
---|---|
void |
close(String namespace) |
void |
doMonitor(com.metamx.emitter.service.ServiceEmitter emitter)
Custom metrics not covered by CacheStats may be emitted by this method.
|
byte[] |
get(Cache.NamedKey key) |
Map<Cache.NamedKey,byte[]> |
getBulk(Iterable<Cache.NamedKey> keys)
Resulting map should not contain any null values (i.e.
|
CacheStats |
getStats() |
boolean |
isLocal() |
void |
put(Cache.NamedKey key,
byte[] value) |
public byte[] get(Cache.NamedKey key)
public void put(Cache.NamedKey key, byte[] value)
public Map<Cache.NamedKey,byte[]> getBulk(Iterable<Cache.NamedKey> keys)
Cache
public CacheStats getStats()
Copyright © 2011–2017. All rights reserved.