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: EntryListener<K, V>, key?: K, includeValue?: boolean): Promise<string>

clear

  • clear(): Promise<void>

containsEntry

  • containsEntry(key: K, value: V): Promise<boolean>

containsKey

  • containsKey(key: K): Promise<boolean>

containsValue

  • containsValue(value: V): Promise<boolean>

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>

entrySet

  • entrySet(): Promise<Array<[K, V]>>

forceUnlock

  • forceUnlock(key: K): Promise<void>

get

Protected getConnectedServerVersion

  • getConnectedServerVersion(): number

getName

  • getName(): string

getPartitionKey

  • getPartitionKey(): string

getServiceName

  • getServiceName(): string

isLocked

  • isLocked(key: K): Promise<boolean>

keySet

  • keySet(): Promise<K[]>

lock

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

Protected postDestroy

  • postDestroy(): Promise<void>

put

  • put(key: K, value: V): Promise<boolean>

remove

  • remove(key: K, value: V): Promise<boolean>

removeAll

removeEntryListener

  • removeEntryListener(listenerId: string): Promise<boolean>

size

  • size(): Promise<number>

Protected toData

  • toData(object: any): Data

Protected toObject

  • toObject(data: Data): any

tryLock

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

unlock

  • unlock(key: K): Promise<void>

valueCount

  • valueCount(key: K): Promise<number>

values

Generated using TypeDoc