Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TransactionImpl

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private antidoteConnection

antidoteConnection: AntidoteConnection

Private connection

connection: ConnectionImpl

Private txId

txId: ByteBuffer

Methods

abort

  • abort(): Promise<void>

binaryToJs

  • binaryToJs(byteBuffer: ByteBuffer): any

childUpdate

  • childUpdate(key: ApbBoundObject, operation: ApbUpdateOperation): ApbUpdateOp

commit

counter

fatCounter

flag_dw

flag_ew

getBucket

  • getBucket(): string

gmap

jsToBinary

  • jsToBinary(obj: any): ByteBuffer

multiValueRegister

readBatch

readObjectsBatch

  • readObjectsBatch<T>(objects: object): Promise<object>
  • Reads several objects at once.

    Type parameters

    • T

    Parameters

    • objects: object

    Returns Promise<object>

readResponseToValue

  • readResponseToValue(type: CRDT_type, response: ApbReadObjectResp): any

register

rrmap

set

set_removeWins

  • set_removeWins<T>(key: string): CrdtSet<T>

toString

  • toString(): string

update

  • update(updates: ApbUpdateOp[] | ApbUpdateOp): Promise<void>
  • Sends a single update operation or an array of update operations to Antidote.

    Parameters

    • updates: ApbUpdateOp[] | ApbUpdateOp

    Returns Promise<void>

Generated using TypeDoc