Cache.NamedKey| Constructor and Description | 
|---|
HybridCache(HybridCacheConfig config,
           Cache level1,
           Cache level2)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close(String namespace)  | 
void | 
doMonitor(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 HybridCache(HybridCacheConfig config, Cache level1, Cache level2)
@Nullable public byte[] get(Cache.NamedKey key)
public void put(Cache.NamedKey key, byte[] value)
public Map<Cache.NamedKey,byte[]> getBulk(Iterable<Cache.NamedKey> keys)
Cachepublic CacheStats getStats()
public void doMonitor(ServiceEmitter emitter)
CacheCopyright © 2011–2018. All rights reserved.