trait ArangoTransactions[F[_]] extends AnyRef
ArangoDB stream transactions API
- F
effect
- Alphabetic
- By Inheritance
- ArangoTransactions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
begin(read: Seq[CollectionName] = Seq.empty, write: Seq[CollectionName] = Seq.empty, exclusive: Seq[CollectionName] = Seq.empty, waitForSync: Boolean = false, allowImplicit: Option[Boolean] = None, lockTimeout: Option[Int] = None, maxTransactionSize: Option[Long] = None): F[ArangoTransaction[F]]
begin a server-side transaction
begin a server-side transaction
Collections that will be written to in the transaction must be declared with the write or exclusive attribute or it will fail, whereas non-declared collections from which is solely read will be added lazily. See locking and isolation for more information.
- read
collections read
- write
collections write
- exclusive
collections exclusive
- waitForSync
an optional boolean flag that, if set, will force the transaction to write all data to disk before returning
- allowImplicit
Allow reading from undeclared collections.
- lockTimeout
an optional numeric value that can be used to set a timeout for waiting on collection locks. If not specified, a default value will be used. Setting lockTimeout to 0 will make ArangoDB not time out waiting for a lock.
- maxTransactionSize
Transaction size limit in bytes. Honored by the RocksDB storage engine only.
- returns
transaction api
-
abstract
def
list(): F[ArangoResponse[TransactionList]]
Return the currently running server-side transactions
Return the currently running server-side transactions
- returns
an object with the attribute transactions, which contains an array of transactions. In a cluster the array will contain the transactions from all Coordinators.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()