File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11CHANGELOG
22=========
33
4+ 0.3.2 (201X-XX-XX)
5+ ------------------
6+
7+ * Added tests and documentation for mutli-threaded use.
8+
490.3.1 (2013-11-05)
510------------------
611
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ as they provide a convenient representation of multi-type data structures and
4242the databind package of Jackson 2 supplies many tools for interacting with the
4343data in this format.
4444
45+ We recommend reusing the ` Reader ` object rather than creating a new one for
46+ each lookup. The creation of this object is relatively expensive as it must
47+ read in metadata for the file.
48+
4549## Example ##
4650
4751``` java
@@ -59,6 +63,12 @@ reader.close();
5963
6064```
6165
66+ ## Multi-Threaded Use ##
67+
68+ This API fully supports use in multi-threaded applications. In such
69+ applications, we suggest creating one ` Reader ` object and sharing that among
70+ threads.
71+
6272## Format ##
6373
6474The MaxMind DB format is an open format for quickly mapping IP addresses to
You can’t perform that action at this time.
0 commit comments