Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListProxy<E>

Type parameters

  • E

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected client

Protected name

name: string

Protected serviceName

serviceName: string

Methods

add

  • add(element: E): Promise

addAll

  • addAll(elements: E[]): Promise

addAllAt

  • addAllAt(index: number, elements: E[]): Promise

addAt

  • addAt(index: number, element: E): Promise

addItemListener

  • addItemListener(listener: ItemListener<E>, includeValue: boolean): Promise

clear

  • clear(): Promise

contains

  • contains(entry: E): Promise

containsAll

  • containsAll(elements: E[]): Promise

destroy

  • destroy(): Promise

Protected encodeInvoke

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

Protected encodeInvokeOnKey

  • encodeInvokeOnKey<T>(codec: any, partitionKey: any, ...codecArguments: any[]): Promise
  • 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

Protected encodeInvokeOnPartition

  • encodeInvokeOnPartition<T>(codec: any, partitionId: number, ...codecArguments: any[]): Promise
  • 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

Protected encodeInvokeOnRandomTarget

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

get

  • get(index: number): Promise

getName

  • getName(): string

getPartitionKey

  • getPartitionKey(): string

getServiceName

  • getServiceName(): string

indexOf

  • indexOf(element: E): Promise

isEmpty

  • isEmpty(): Promise

lastIndexOf

  • lastIndexOf(element: E): Promise

remove

  • remove(entry: E): Promise

removeAll

  • removeAll(elements: E[]): Promise

removeAt

  • removeAt(index: number): Promise

removeItemListener

  • removeItemListener(registrationId: string): Promise

retainAll

  • retainAll(elements: E[]): Promise

Private serializeList

  • serializeList(input: Array<E>): Array<Data>

set

  • set(index: number, element: E): Promise

size

  • size(): Promise

subList

  • subList(start: number, end: number): Promise

toArray

  • toArray(): Promise

Protected toData

  • toData(object: any): Data

Protected toObject

  • toObject(data: Data): any

Generated using TypeDoc