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>

decrementAndGet

  • decrementAndGet(): Promise<Long>

destroy

  • destroy(): Promise<void>

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>

getAndDecrement

  • getAndDecrement(): Promise<Long>

getAndIncrement

  • getAndIncrement(): Promise<Long>

getAndSubtract

  • getAndSubtract(delta: 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>

reset

  • reset(): Promise<void>

subtractAndGet

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

Protected toData

  • toData(object: any): Data

Protected toObject

  • toObject(data: Data): any

Generated using TypeDoc