Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReplicatedMapProxy<K, V>

Type parameters

  • K

  • V

Hierarchy

  • PartitionSpecificProxy
    • ReplicatedMapProxy

Implements

Index

Constructors

constructor

  • Parameters

    Returns ReplicatedMapProxy

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>
  • Returns Promise<void>

containsKey

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

    • key: K

    Returns Promise<boolean>

containsValue

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

    • value: V

    Returns Promise<boolean>

destroy

  • destroy(): Promise<void>
  • Returns Promise<void>

destroyLocally

  • destroyLocally(): Promise<void>
  • Returns Promise<void>

entrySet

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

get

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

    • key: K

    Returns Promise<V>

getName

  • getName(): string
  • Returns string

getPartitionKey

  • getPartitionKey(): string
  • Returns string

getServiceName

  • getServiceName(): string
  • Returns string

isEmpty

  • isEmpty(): Promise<boolean>
  • Returns Promise<boolean>

keySet

  • keySet(): Promise<K[]>
  • Returns Promise<K[]>

put

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

    • key: K
    • value: V
    • Default value ttl: Long | number = 0

    Returns Promise<V>

putAll

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

    • pairs: Array<[K, V]>

    Returns Promise<void>

remove

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

    • key: K

    Returns Promise<V>

removeEntryListener

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

size

  • size(): Promise<number>
  • Returns Promise<number>

values

Generated using TypeDoc