 | RedisCacheServiceClear Method |
Purges the entire cache of all entries
Namespace: SanteDB.Caching.RedisAssembly: SanteDB.Caching.Redis (in SanteDB.Caching.Redis.dll) Version: 3.0.2081-alpha+ce906ccc8091ff0a3c40d1fff3e2485e75a86c5b
Syntaxpublic:
virtual void Clear() sealed
abstract Clear : unit -> unit
override Clear : unit -> unit
Implements
IDataCachingServiceClear
RemarksThe ability of a cache provider to implement this method may depend on the server environment in which the SanteDB instance is operating. For example,
if running the REDIS cache provider, a call to this will require an administrative connection to the REDIS server, or else a
InvalidOperationException
will be thrown.
See Also