Home
last modified time | relevance | path

Searched refs:getForUpdate (Results 1 – 7 of 7) sorted by relevance

/rocksdb-6.9/java/src/main/java/org/rocksdb/
DTransaction.java444 public byte[] getForUpdate(final ReadOptions readOptions, in getForUpdate() method in Transaction
448 return getForUpdate(nativeHandle_, readOptions.nativeHandle_, key, key.length, in getForUpdate()
470 public byte[] getForUpdate(final ReadOptions readOptions, in getForUpdate() method in Transaction
474 return getForUpdate(nativeHandle_, readOptions.nativeHandle_, key, key.length, in getForUpdate()
522 public byte[] getForUpdate(final ReadOptions readOptions, final byte[] key, in getForUpdate() method in Transaction
525 return getForUpdate( in getForUpdate()
1907 private native byte[] getForUpdate(final long handle, final long readOptionsHandle, in getForUpdate() method in Transaction
1910 private native byte[] getForUpdate(final long handle, final long readOptionsHandle, in getForUpdate() method in Transaction
/rocksdb-6.9/java/src/test/java/org/rocksdb/
DTransactionTest.java31 assertThat(txn.getForUpdate(readOptions, testCf, k1, true)).isEqualTo(v1); in getForUpdate_cf_conflict()
37 assertThat(txn3.getForUpdate(readOptions, testCf, k1, true)).isEqualTo(v1); in getForUpdate_cf_conflict()
64 assertThat(txn.getForUpdate(readOptions, k1, true)).isEqualTo(v1); in getForUpdate_conflict()
70 assertThat(txn3.getForUpdate(readOptions, k1, true)).isEqualTo(v1); in getForUpdate_conflict()
DAbstractTransactionTest.java259 assertThat(txn.getForUpdate(readOptions, testCf, k1, true)).isNull(); in getForUpdate_cf()
261 assertThat(txn.getForUpdate(readOptions, testCf, k1, true)).isEqualTo(v1); in getForUpdate_cf()
266 public void getForUpdate() throws RocksDBException { in getForUpdate() method in AbstractTransactionTest
272 assertThat(txn.getForUpdate(readOptions, k1, true)).isNull(); in getForUpdate()
274 assertThat(txn.getForUpdate(readOptions, k1, true)).isEqualTo(v1); in getForUpdate()
762 assertThat(txn.getForUpdate(readOptions, testCf, k1, true)).isNull(); in undoGetForUpdate_cf()
764 assertThat(txn.getForUpdate(readOptions, testCf, k1, true)).isEqualTo(v1); in undoGetForUpdate_cf()
776 assertThat(txn.getForUpdate(readOptions, k1, true)).isNull(); in undoGetForUpdate()
778 assertThat(txn.getForUpdate(readOptions, k1, true)).isEqualTo(v1); in undoGetForUpdate()
DOptimisticTransactionTest.java37 assertThat(txn3.getForUpdate(readOptions, testCf, k1, true)).isEqualTo(v1); in getForUpdate_cf_conflict()
74 assertThat(txn3.getForUpdate(readOptions, k1, true)).isEqualTo(v1); in getForUpdate_conflict()
203 assertThat(txn3.getForUpdate(readOptions, testCf, k1, true)).isEqualTo(v1); in undoGetForUpdate_cf_conflict()
237 assertThat(txn3.getForUpdate(readOptions, k1, true)).isEqualTo(v1); in undoGetForUpdate_conflict()
DTransactionDBTest.java138 assertThat(txn.getForUpdate(readOptions, key, true)).isEqualTo(value); in lockStatusData()
/rocksdb-6.9/java/samples/src/main/java/
DOptimisticTransactionSample.java113 final byte[] value = txn.getForUpdate(readOptions, key1, true); in repeatableRead()
172 value = txn.getForUpdate(readOptions, keyY, true); in readCommitted_monotonicAtomicViews()
DTransactionSample.java117 final byte[] value = txn.getForUpdate(readOptions, key1, true); in repeatableRead()
170 value = txn.getForUpdate(readOptions, keyY, true); in readCommitted_monotonicAtomicViews()