Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReplicatedMapProxy<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>): Promise<string>

addEntryListenerToKey

  • addEntryListenerToKey(listener: EntryListener<K, V>, key: K): Promise<string>

addEntryListenerToKeyWithPredicate

  • addEntryListenerToKeyWithPredicate(listener: EntryListener<K, V>, key: K, predicate: Predicate): Promise<string>

addEntryListenerWithPredicate

clear

  • clear(): Promise<void>

containsKey

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

containsValue

  • containsValue(value: V): 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>

entrySet

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

get

  • get(key: K): Promise<V>

Protected getConnectedServerVersion

  • getConnectedServerVersion(): number

getName

  • getName(): string

getPartitionKey

  • getPartitionKey(): string

getServiceName

  • getServiceName(): string

isEmpty

  • isEmpty(): Promise<boolean>

keySet

  • keySet(): Promise<K[]>

Protected postDestroy

  • postDestroy(): Promise<void>

put

  • put(key: K, value: V, ttl?: Long | number): Promise<V>

putAll

  • putAll(pairs: Array<[K, V]>): Promise<void>

remove

  • remove(key: K): Promise<V>

removeEntryListener

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

size

  • size(): Promise<number>

Protected toData

  • toData(object: any): Data

Protected toObject

  • toObject(data: Data): any

values

Generated using TypeDoc