QueryCache

interface QueryCache

Wrapper interface for sudo client cache operations.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun list(): List<Sudo>

Provide the list of sudos from this query cache.

Link copied to clipboard
abstract suspend fun remove(item: Sudo)

Remove the associated sudo from the cache, sudo identity is based on unique id.

Link copied to clipboard
abstract suspend fun replace(item: Sudo?)

Adds a new item or replace an existing item in this query cache.

Link copied to clipboard
abstract suspend fun replaceAll(sudos: List<Sudo>)

Replace all sudos in the cache with the provided list.