All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jsimpledb.kv.rocksdb.RocksDBKVTransaction Maven / Gradle / Ivy


/*
 * Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
 */

package org.jsimpledb.kv.rocksdb;

import org.jsimpledb.kv.mvcc.SnapshotKVTransaction;
import org.jsimpledb.kv.mvcc.SnapshotVersion;

/**
 * {@link RocksDBKVDatabase} transaction.
 */
public class RocksDBKVTransaction extends SnapshotKVTransaction {

    /**
     * Constructor.
     */
    RocksDBKVTransaction(RocksDBKVDatabase kvdb, SnapshotVersion versionInfo) {
        super(kvdb, versionInfo);
    }

// KVTransaction

    @Override
    public RocksDBKVDatabase getKVDatabase() {
        return (RocksDBKVDatabase)super.getKVDatabase();
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy