
org.jsimpledb.kv.rocksdb.RocksDBKVTransaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsimpledb-kv-rocksdb Show documentation
Show all versions of jsimpledb-kv-rocksdb Show documentation
JSimpleDB key/value store implementation based on RocksDB.
The newest version!
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package org.jsimpledb.kv.rocksdb;
import org.jsimpledb.kv.mvcc.MutableView;
import org.jsimpledb.kv.mvcc.SnapshotKVTransaction;
/**
* {@link RocksDBKVDatabase} transaction.
*/
public class RocksDBKVTransaction extends SnapshotKVTransaction {
/**
* Constructor.
*/
RocksDBKVTransaction(RocksDBKVDatabase kvdb, MutableView view, long baseVersion) {
super(kvdb, view, baseVersion);
}
// KVTransaction
@Override
public RocksDBKVDatabase getKVDatabase() {
return (RocksDBKVDatabase)super.getKVDatabase();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy