RedisCacheInvalidator Methods |
The RedisCacheInvalidator type exposes the following members.
Name | Description | |
---|---|---|
Clear |
Clears the cache.
(Inherited from CachingBackend.) | |
ClearAsync |
Asynchronously clears the cache.
(Inherited from CachingBackend.) | |
ClearAsyncCore |
Asynchronously clears the cache. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked.
(Inherited from CachingBackendEnhancer.) | |
ClearCore |
Clears the cache. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked.
(Inherited from CachingBackendEnhancer.) | |
ContainsDependency |
Determines whether the cache contains a given dependency.
(Inherited from CachingBackend.) | |
ContainsDependencyAsync |
Asynchronously determines whether the cache contains a given dependency.
(Inherited from CachingBackend.) | |
ContainsDependencyAsyncCore |
Asynchronously determines whether the cache contains a given dependency. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CachingBackendEnhancer.) | |
ContainsDependencyCore |
Determines whether the cache contains a given dependency. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CachingBackendEnhancer.) | |
ContainsItem |
Determines whether the cache contains an item of a given key.
(Inherited from CachingBackend.) | |
ContainsItemAsync |
Asynchronously determines whether the cache contains an item of a given key.
(Inherited from CachingBackend.) | |
ContainsItemAsyncCore |
Asynchronously determines whether the cache contains an item of a given key. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CachingBackendEnhancer.) | |
ContainsItemCore |
Determines whether the cache contains an item of a given key. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CachingBackendEnhancer.) | |
Create |
Creates a new RedisCacheInvalidator.
| |
CreateAsync |
Asynchronously creates a new RedisCacheInvalidator.
| |
CreateFeatures |
Creates a CachingBackendFeatures object, which describes set of features implemented by the back-end.
This method is invoked the first time the SupportedFeatures property is evaluated. The result is then cached.
(Inherited from CachingBackendEnhancer.) | |
Dispose() |
Synchronously disposes the current CachingBackend.
(Inherited from CachingBackend.) | |
Dispose(Boolean) |
Synchronously disposes the current CachingBackend, with a parameter instructing whether this method is called because
of a call to the Dispose() method or because of object finalizing.
(Inherited from CachingBackend.) | |
DisposeAsync |
Asynchronously dispose the current CachingBackend.
(Inherited from CachingBackend.) | |
DisposeAsyncCore |
Asynchronously disposes the current CachingBackend. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked.
(Overrides CachingBackendEnhancer.DisposeAsyncCore(CancellationToken).) | |
DisposeCore |
Synchronously disposes the current CachingBackend. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked.
(Overrides CachingBackendEnhancer.DisposeCore(Boolean).) | |
GetItem |
Gets a cache item given its key.
(Inherited from CachingBackend.) | |
GetItemAsync |
Asynchronously gets a cache item given its key.
(Inherited from CachingBackend.) | |
GetItemAsyncCore |
Asynchronously gets a cache item given its key. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CachingBackendEnhancer.) | |
GetItemCore |
Gets a cache item given its key. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CachingBackendEnhancer.) | |
InvalidateDependency |
Removes from the cache all items that have a specific dependency.
(Inherited from CachingBackend.) | |
InvalidateDependencyAsync |
Asynchronously removes from the cache all items that have a specific dependency. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CachingBackend.) | |
InvalidateDependencyAsyncCore |
Asynchronously removes from the cache all items that have a specific dependency. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CacheInvalidator.) | |
InvalidateDependencyCore |
Removes from the cache all items that have a specific dependency. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CacheInvalidator.) | |
OnBackendDependencyInvalidated |
Method invoked when the DependencyInvalidated event of the next UnderlyingBackend
in the chain of responsibility is invoked.
(Inherited from CachingBackendEnhancer.) | |
OnBackendItemRemoved |
Method invoked when the ItemRemoved event of the next UnderlyingBackend
in the chain of responsibility is invoked.
(Inherited from CachingBackendEnhancer.) | |
OnDependencyInvalidated(CacheDependencyInvalidatedEventArgs) |
Raises the DependencyInvalidated event given a CacheDependencyInvalidatedEventArgs.
(Inherited from CachingBackend.) | |
OnDependencyInvalidated(String, Guid) |
Raises the DependencyInvalidated event , but lazily instantiates the CacheDependencyInvalidatedEventArgs
if there is an event client.
(Inherited from CachingBackend.) | |
OnItemRemoved(CacheItemRemovedEventArgs) |
Raises the ItemRemoved event given a CacheItemRemovedEventArgs.
(Inherited from CachingBackend.) | |
OnItemRemoved(String, CacheItemRemovedReason, Guid) |
Raises the ItemRemoved event, but lazily instantiates the CacheItemRemovedEventArgs
if there is an event client.
(Inherited from CachingBackend.) | |
OnMessageReceived |
Implementations of CacheInvalidator must call this method when an invalidation message is received.
(Inherited from CacheInvalidator.) | |
RemoveItem |
Removes a cache item from the cache given its key.
(Inherited from CachingBackend.) | |
RemoveItemAsync |
Asynchronously removes a cache item from the cache given its key.
(Inherited from CachingBackend.) | |
RemoveItemAsyncCore |
Asynchronously removes a cache item from the cache given its key. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CacheInvalidator.) | |
RemoveItemCore |
Removes a cache item from the cache given its key. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CacheInvalidator.) | |
SendMessageAsync |
Sends an invalidation message over the message bus of the implementation.
(Overrides CacheInvalidator.SendMessageAsync(String, CancellationToken).) | |
SetItem |
Sets a cache item.
(Inherited from CachingBackend.) | |
SetItemAsync |
Asynchronously sets a cache item.
(Inherited from CachingBackend.) | |
SetItemAsyncCore |
Asynchronously sets a cache item. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
The default implementation is to call the synchronous SetItemCore(String, CacheItem) method.
(Inherited from CachingBackendEnhancer.) | |
SetItemCore |
Sets a cache item. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.
(Inherited from CachingBackendEnhancer.) | |
ToString | Returns a string that represents the current object. (Inherited from CachingBackend.) | |
WhenBackgroundTasksCompleted |
Returns a Task that is signaled to the complete state when all background tasks
have completed.
(Inherited from CachingBackend.) |