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

me.archdev.foundationdb.algebra.UtilsAlgebra.scala Maven / Gradle / Ivy

The newest version!
package me.archdev.foundationdb.algebra

import java.util.concurrent.CompletableFuture
import com.apple.foundationdb.Transaction

import scala.language.higherKinds

trait UtilsAlgebra[F[_]] {

  def getReadVersion(): F[Long]
  def setReadVersion(version: Long): F[Unit]

  def getCommittedVersion(): F[Long]

  def raw[V](f: Transaction => CompletableFuture[V]): F[V]

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy