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
  • remove
  • removeNoLock
  • clear
  1. CacheApi (Memory Cache APIs)

Delete APIs

remove

Removes from the cache​ by providing the key.

CacheApi.remove(cacheName, key) 

Parameters

cacheName: name of the cache
key:       name of the identifier

Returns

 result object

removeNoLock

Removes from the cache without locking it. The key is provided as an argument​

Cache.removeNoLock(cacheName, key)

Parameters

cacheName: name of the cache
key:       the identifier

Returns

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

clear

Clear all entries from the cache.

CacheApi.clear(cacheName)

Parameters

cacheName

Returns

A Result object indicating the success or failure of the operation.
PreviousCacheApi (Memory Cache APIs)NextCreate and Update API

Last updated 1 year ago