Thread Safety

In all but a few cases, the data structures you create and use from this library are not thread-safe. Therefore, do not share these across threads.

The exceptions to this are kv_impl_t and kv_store_t, which are thread-safe after you create them. However, be careful to create and release these in a single-threaded manner.

kv_impl_t is created using kv_create_jni_impl() and released using kv_release_impl()kv_store_t is created using kv_open_store() and released using kv_close_store().