| MemoryCacheServiceClear Method |
Purges the entire cache of all entries
Namespace:
SanteDB.Caching.Memory
Assembly:
SanteDB.Caching.Memory (in SanteDB.Caching.Memory.dll) Version: 3.0.481-alpha
Syntax public:
virtual void Clear() sealed
abstract Clear : unit -> unit
override Clear : unit -> unit
Implements
IDataCachingServiceClearRemarks The 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.
Thread Safety Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
See Also