Cache.NamedKey
Modifier and Type | Method and Description |
---|---|
void |
close(String namespace) |
static Cache |
create(long sizeInBytes) |
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) |
public static Cache create(long sizeInBytes)
public CacheStats getStats()
public byte[] get(Cache.NamedKey key)
public void put(Cache.NamedKey key, byte[] value)
public Map<Cache.NamedKey,byte[]> getBulk(Iterable<Cache.NamedKey> keys)
Copyright © 2011–2015. All rights reserved.