Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MultiMapProxy<K, V>

Type parameters

  • K

  • V

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected client

Protected name

name: string

Protected serviceName

serviceName: string

Methods

addEntryListener

  • addEntryListener(listener: IMapListener<K, V>, key?: K, includeValue?: boolean): Promise

clear

  • clear(): Promise

containsEntry

  • containsEntry(key: K, value: V): Promise

containsKey

  • containsKey(key: K): Promise

containsValue

  • containsValue(value: V): Promise

Private deserializeList

  • deserializeList<X>(items: Array<Data>): Array<X>

destroy

  • destroy(): 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

entrySet

  • entrySet(): Promise

forceUnlock

  • forceUnlock(key: K): Promise

get

  • get(key: K): Promise

getName

  • getName(): string

getPartitionKey

  • getPartitionKey(): string

getServiceName

  • getServiceName(): string

isLocked

  • isLocked(key: K): Promise

keySet

  • keySet(): Promise

lock

  • lock(key: K, leaseMillis?: number): Promise

put

  • put(key: K, value: V): Promise

remove

  • remove(key: K, value: V): Promise

removeAll

  • removeAll(key: K): Promise

removeEntryListener

  • removeEntryListener(listenerId: string): Promise

size

  • size(): Promise

Protected toData

  • toData(object: any): Data

Protected toObject

  • toObject(data: Data): any

tryLock

  • tryLock(key: K, timeoutMillis?: number, leaseMillis?: number): Promise

unlock

  • unlock(key: K): Promise

valueCount

  • valueCount(key: K): Promise

values

  • values(): Promise

Generated using TypeDoc