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<boolean>

addAll

  • addAll(elements: E[]): Promise<boolean>

addAllAt

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

addAt

  • addAt(index: number, element: E): Promise<void>

addItemListener

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

clear

  • clear(): Promise<void>

contains

  • contains(entry: E): Promise<boolean>

containsAll

  • containsAll(elements: E[]): Promise<boolean>

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(index: number): Promise<E>

Protected getConnectedServerVersion

  • getConnectedServerVersion(): number

getName

  • getName(): string

getPartitionKey

  • getPartitionKey(): string

getServiceName

  • getServiceName(): string

indexOf

  • indexOf(element: E): Promise<number>

isEmpty

  • isEmpty(): Promise<boolean>

lastIndexOf

  • lastIndexOf(element: E): Promise<number>

Protected postDestroy

  • postDestroy(): Promise<void>

remove

  • remove(entry: E): Promise<boolean>

removeAll

  • removeAll(elements: E[]): Promise<boolean>

removeAt

  • removeAt(index: number): Promise<E>

removeItemListener

  • removeItemListener(registrationId: string): Promise<boolean>

retainAll

  • retainAll(elements: E[]): Promise<boolean>

set

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

size

  • size(): Promise<number>

subList

toArray

  • toArray(): Promise<E[]>

Protected toData

  • toData(object: any): Data

Protected toObject

  • toObject(data: Data): any

Generated using TypeDoc