Options
All
  • Public
  • Public/Protected
  • All
Menu

Common super class for any proxy.

Hierarchy

Index

Constructors

constructor

Properties

Protected client

Protected name

name: string

Protected serviceName

serviceName: string

Methods

destroy

  • destroy(): Promise<void>
  • Deletes the proxy object and frees allocated resources on cluster.

    Returns Promise<void>

Protected encodeInvokeOnAddress

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

    • T

    Parameters

    • codec: any
    • address: Address
    • Rest ...codecArguments: any[]

    Returns 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>
  • Encodes a request from a codec and invokes it on any node.

    Type parameters

    • T

    Parameters

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

    Returns Promise<T>

Protected getConnectedServerVersion

  • getConnectedServerVersion(): number

getName

  • getName(): string

getPartitionKey

  • getPartitionKey(): string

getServiceName

  • getServiceName(): string

Protected postDestroy

  • postDestroy(): Promise<void>

Protected toData

  • toData(object: any): Data
  • Serializes an object according to serialization settings of the client.

    Parameters

    • object: any

    Returns Data

Protected toObject

  • toObject(data: Data): any
  • De-serializes an object from binary form according to serialization settings of the client.

    Parameters

    Returns any

Generated using TypeDoc