Clarifications

This commit is contained in:
Andrea Cavalli 2023-12-09 17:56:30 +01:00
parent 09655567b2
commit 665e5cdf30
2 changed files with 3 additions and 3 deletions

View File

@ -79,11 +79,11 @@ public class EmbeddedConnection extends BaseConnection {
@Override
public <T> T get(Arena arena,
long transactionId,
long transactionOrUpdateId,
long columnId,
MemorySegment @NotNull [] keys,
GetCallback<? super MemorySegment, T> callback) throws RocksDBException {
return db.get(arena, transactionId, columnId, keys, callback);
return db.get(arena, transactionOrUpdateId, columnId, keys, callback);
}
@Override

View File

@ -73,7 +73,7 @@ public interface RocksDBAPI {
/**
* Get an element from the specified position
* @param arena arena
* @param transactionId transaction id, or 0
* @param transactionId transaction id, update id for retry operations, or 0
* @param columnId column id
* @param keys column keys, or empty array if not needed
* @param callback the callback will be executed on the same thread, exactly once.