MCPcopy Create free account
hub / github.com/cruppstahl/upscaledb / close

Method close

java/java/de/crupp/upscaledb/Cursor.java:456–463  ·  view source on GitHub ↗

Closes the Cursor This method wraps the native ups_cursor_close function. Closes this Cursor and frees allocated memory. All Cursors should be closed before closing the Database. More information: <a href="http://files.upscaledb.com/documentation/html/group__ups__cursor.html#ga1b92b930f1

()

Source from the content-addressed store, hash-verified

454 * More information: <a href="http://files.upscaledb.com/documentation/html/group__ups__cursor.html#ga1b92b930f157ff2d9e0896e9f639085f">C documentation</a>
455 */
456 public void close()
457 throws DatabaseException {
458 int status;
459 if (m_handle == 0)
460 return;
461 closeNoLock();
462 m_db.removeCursor(this);
463 }
464
465 public void closeNoLock()
466 throws DatabaseException {

Callers 3

testCreateMethod · 0.95
testCloneCursorMethod · 0.95
testCursorMethod · 0.95

Calls 2

closeNoLockMethod · 0.95
removeCursorMethod · 0.80

Tested by 3

testCreateMethod · 0.76
testCloneCursorMethod · 0.76
testCursorMethod · 0.76