prorm API Reference
    Preparing search index...

    Class IgniteStore

    IgniteStore wraps an apache-ignite-client IgniteClient and exposes its distributed-cache operations as a typed, promise-based API.

    Implements

    Index
    name: "ignite" = 'ignite'

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

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

    The client library being used

    database: "ignite" = IGNITE_DB
    label: "Ignite" = 'Ignite'
    • Resolve (and cache) a distributed cache handle by name.

      Parameters

      • name: string

      Returns Promise<IgniteCache>

    • Put value under key in map (an Ignite cache handle).

      Parameters

      • map: IgniteCache
      • key: unknown
      • value: unknown

      Returns Promise<unknown>

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

      Parameters

      • map: IgniteCache
      • key: unknown

      Returns Promise<unknown>

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

      Parameters

      • map: IgniteCache
      • key: unknown

      Returns Promise<boolean>

    • Return all keys currently in map as an array.

      Parameters

      • map: IgniteCache

      Returns Promise<unknown[]>

    • Return the number of entries in map.

      Parameters

      • map: IgniteCache

      Returns Promise<number>