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

org.jsimpledb.kv.leveldb.LevelDBKVTransaction Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version

/*
 * 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