Trillo Workbench Python SDK
  • Introduction
    • Sample Example
  • BaseApi (Basic APIs)
  • LogApi (Logging APIs)
  • DSApi (Database APIs)
    • Overview
    • Retrieve APIs
    • Create and Update API
    • Delete APIs
    • Empty Table
    • Sample Functions Using API
  • FuncApi (Function APIs)
  • TaskApi (Task APIs)
  • CacheApi (Memory Cache APIs)
    • Delete APIs
    • Create and Update API
    • Retrieve APIs
  • StorageApi
  • CallLogger (Logging Level APIs)
  • CommandApi
  • OAuth1Api
  • Google Cloud APIs
    • BigQueryApi (BigQuery APIs)
    • GCSApi (Cloud Storage APIs)
    • GCPAuthApi
    • GCPRestApi
    • GCPTokenInfo
  • Metadata API (MetaApi)
    • Create and Update API
    • All Retrieve-Only
  • UMApi (User, Tenant, Roles APIs)
  • HttpApi (HTTP APIs)
  • SFTPApi
  • FileUtil
  • CSVApi
  • EmailApi (Email APIs)
  • DLPApi
  • DocApi
  • FolderApi
  • GCPGenApi
  • Util
Powered by GitBook
On this page
  • getMemoryCache
  • get
  • getNoLock
  1. CacheApi (Memory Cache APIs)

Retrieve APIs

getMemoryCache

Get memory cache

CacheApi.getMemoryCache()

Parameters

no parameters

Returns

InMemoryCache

get

Retrieve a value from the cache by providing the cache name and key.

CacheApi.get(cacheName, key)

Parameters

cacheName: string
key: string

Returns

The value associated with the provided key in the cache.

getNoLock

Retrieve a value from the cache without acquiring a lock.

Cache.getNoLock(cacheName, key)

Parameters

cacheName: string
key: string

Returns

A Result object indicating the success or failure of the operation.

PreviousCreate and Update APINextStorageApi

Last updated 1 year ago