Skip to main content

InMemoryCache

This protocol defines the basic interface for cache operations.
Implementing classes should provide concrete implementations for these methods to handle caching mechanisms.
Parameters:

Instance Methods

close

Close the cache. Perform any necessary cleanup, such as closing network connections or releasing resources.

get

Retrieve an item from the cache.
Parameters: Returns:

set

Set an item in the cache.
Parameters: