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