prorm API Reference
    Preparing search index...

    Class GridGainStore

    GridGainStore wraps an apache-ignite-client client (GridGain is Ignite-based and shares the thin-client protocol) and exposes its distributed-cache operations as a typed, promise-based API.

    Implements

    Index
    name: "gridgain" = 'gridgain'

    The name of the store (e.g. 'mongodb', 'redis', 'dynamodb')

    library: "apache-ignite-client" = 'apache-ignite-client'

    The client library being used

    • Resolve (and cache) a distributed cache handle by name.

      Parameters

      • name: string

      Returns Promise<GridGainCache>

    • Put value under key in map (a GridGain cache handle).

      Parameters

      • map: GridGainCache
      • key: unknown
      • value: unknown

      Returns Promise<unknown>

    • Get the value stored under key in map (or null if absent).

      Parameters

      • map: GridGainCache
      • key: unknown

      Returns Promise<unknown>

    • Remove key from map. Returns GridGain's boolean success flag.

      Parameters

      • map: GridGainCache
      • key: unknown

      Returns Promise<boolean>

    • Return all keys currently in map as an array.

      Parameters

      • map: GridGainCache

      Returns Promise<unknown[]>

    • Return the number of entries in map.

      Parameters

      • map: GridGainCache

      Returns Promise<number>