Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected client

Protected name

name: string

Protected serviceName

serviceName: string

Methods

addAndGet

  • addAndGet(delta: Long | number): Promise<Long>

compareAndSet

  • compareAndSet(expect: Long | number, update: Long | number): Promise<boolean>

decrementAndGet

  • decrementAndGet(): Promise<Long>

destroy

  • destroy(): Promise<void>

Protected encodeInvoke

  • encodeInvoke<T>(codec: any, ...codecArguments: any[]): Promise<T>

Protected encodeInvokeOnAddress

  • encodeInvokeOnAddress<T>(codec: any, address: Address, ...codecArguments: any[]): Promise<T>

Protected encodeInvokeOnKey

  • encodeInvokeOnKey<T>(codec: any, partitionKey: any, ...codecArguments: any[]): Promise<T>
  • Encodes a request from a codec and invokes it on owner node of given key.

    Type parameters

    • T

    Parameters

    • codec: any
    • partitionKey: any
    • Rest ...codecArguments: any[]

    Returns Promise<T>

Protected encodeInvokeOnPartition

  • encodeInvokeOnPartition<T>(codec: any, partitionId: number, ...codecArguments: any[]): Promise<T>
  • Encodes a request from a codec and invokes it on owner node of given partition.

    Type parameters

    • T

    Parameters

    • codec: any
    • partitionId: number
    • Rest ...codecArguments: any[]

    Returns Promise<T>

Protected encodeInvokeOnRandomTarget

  • encodeInvokeOnRandomTarget<T>(codec: any, ...codecArguments: any[]): Promise<T>

get

  • get(): Promise<Long>

getAndAdd

  • getAndAdd(delta: Long | number): Promise<Long>

getAndIncrement

  • getAndIncrement(): Promise<Long>

getAndSet

  • getAndSet(newValue: Long | number): Promise<Long>

Protected getConnectedServerVersion

  • getConnectedServerVersion(): number

getName

  • getName(): string

getPartitionKey

  • getPartitionKey(): string

getServiceName

  • getServiceName(): string

incrementAndGet

  • incrementAndGet(): Promise<Long>

Protected postDestroy

  • postDestroy(): Promise<void>

set

  • set(newValue: Long | number): Promise<void>

Protected toData

  • toData(object: any): Data

Protected toObject

  • toObject(data: Data): any

Generated using TypeDoc