LMDBTransactionManager

lightdb.lmdb.LMDBTransactionManager
case class LMDBTransactionManager(env: Env[ByteBuffer])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

def commit(): Task[Unit]
def count(dbi: Dbi[ByteBuffer]): Task[Int]

Count total records in the database

Count total records in the database

Attributes

def exists(dbi: Dbi[ByteBuffer], key: ByteBuffer): Task[Boolean]
def get(dbi: Dbi[ByteBuffer], key: ByteBuffer): Task[Option[ByteBuffer]]
def withReadIterator[T](iteratorProvider: Txn[ByteBuffer] => Iterator[T]): Task[Iterator[T]]
def withWrite[Return](f: Txn[ByteBuffer] => Task[Return]): Task[Return]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product