Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f821c0

Browse files
committed
Additional JavaDocs related tolmdbjava#195
1 parent87dab31 commit9f821c0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎src/main/java/org/lmdbjava/Env.java‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,7 @@ public Dbi<T> openDbi(final String name, final Comparator<T> comparator,
285285
}
286286

287287
/**
288-
* Open the {@link Dbi}.
289-
*
290-
* <p>
291-
* This method must not be called from concurrent threads.
288+
* Convenience method that opens a {@link Dbi} with a UTF-8 database name.
292289
*
293290
* @param name name of the database (or null if no name is required)
294291
* @param flags to open the database with
@@ -315,6 +312,10 @@ public Dbi<T> openDbi(final byte[] name, final DbiFlags... flags) {
315312
* comparator is typically more efficient (as there is no need for the native
316313
* library to call back into Java for the comparator result).
317314
*
315+
* <p>
316+
* This method (and its overloaded convenience variants) must not be called
317+
* from concurrent threads.
318+
*
318319
* @param name name of the database (or null if no name is required)
319320
* @param comparator custom comparator callback (or null to use LMDB default)
320321
* @param flags to open the database with

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp