Package | Description |
---|---|
com.maxmind.db |
This is MaxMind-DB-Reader-java release 1.2.2 2017-02-17
retrieved from github.
|
com.maxmind.geoip2 |
This is GeoIP2-java release 2.12.0 2018-04-11
retrieved from github.
|
Modifier and Type | Class and Description |
---|---|
class |
CHMCache
A simplistic cache using a
ConcurrentHashMap . |
class |
NoCache
A no-op cache singleton.
|
Constructor and Description |
---|
Decoder(NodeCache cache,
ByteBuffer buffer,
long pointerBase) |
Reader(File database,
NodeCache cache)
Constructs a Reader for the MaxMind DB format, with the specified backing
cache.
|
Reader(File database,
Reader.FileMode fileMode,
NodeCache cache)
Constructs a Reader for the MaxMind DB format, with the specified backing
cache.
|
Reader(InputStream source,
NodeCache cache)
Constructs a Reader with the specified backing cache, as if in mode
Reader.FileMode.MEMORY , without using a File instance. |
Modifier and Type | Field and Description |
---|---|
(package private) NodeCache |
DatabaseReader.Builder.cache |
Modifier and Type | Method and Description |
---|---|
DatabaseReader.Builder |
DatabaseReader.Builder.withCache(NodeCache cache) |