public class CHMCache extends Object implements NodeCache
ConcurrentHashMap. There's no eviction
policy, it just fills up until reaching the specified capacity (or
close enough at least, bounds check is not atomic :)NodeCache.Loader| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
get(int key,
NodeCache.Loader loader) |
public com.fasterxml.jackson.databind.JsonNode get(int key,
NodeCache.Loader loader)
throws IOException
get in interface NodeCacheIOExceptionCopyright © 2017 MaxMind, Inc.. All Rights Reserved.