Microsoft.Extensions.Caching.Abstractions
Sets the priority for keeping the cache entry in the cache during a memory pressure tokened cleanup.
Expire the cache entry if the given expires.
The .
The that causes the cache entry to expire.
Sets an absolute expiration time, relative to now.
Sets an absolute expiration date for the cache entry.
Sets how long the cache entry can be inactive (e.g. not accessed) before it will be removed.
This will not extend the entry lifetime beyond the absolute expiration (if set).
The given callback will be fired after the cache entry is evicted from the cache.
The given callback will be fired after the cache entry is evicted from the cache.
Sets the value of the cache entry.
Sets the size of the cache entry value.
Applies the values of an existing to the entry.
Specifies how items are prioritized for preservation during a memory pressure triggered cleanup.
Manually
Overwritten
Timed out
Event
Overflow
Represents an entry in the implementation.
Gets the key of the cache entry.
Gets or set the value of the cache entry.
Gets or sets an absolute expiration date for the cache entry.
Gets or sets an absolute expiration time, relative to now.
Gets or sets how long a cache entry can be inactive (e.g. not accessed) before it will be removed.
This will not extend the entry lifetime beyond the absolute expiration (if set).
Gets the instances which cause the cache entry to expire.
Gets or sets the callbacks will be fired after the cache entry is evicted from the cache.
Gets or sets the priority for keeping the cache entry in the cache during a
cleanup. The default is .
Gets or set the size of the cache entry value.
Represents a local in-memory cache whose values are not serialized.
Gets the item associated with this key if present.
An object identifying the requested entry.
The located value or null.
True if the key was found.
Create or overwrite an entry in the cache.
An object identifying the entry.
The newly created instance.
Removes the object associated with the given key.
An object identifying the entry.
Sets the priority for keeping the cache entry in the cache during a memory pressure tokened cleanup.
Sets the size of the cache entry value.
Expire the cache entry if the given expires.
The .
The that causes the cache entry to expire.
Sets an absolute expiration time, relative to now.
Sets an absolute expiration date for the cache entry.
Sets how long the cache entry can be inactive (e.g. not accessed) before it will be removed.
This will not extend the entry lifetime beyond the absolute expiration (if set).
The given callback will be fired after the cache entry is evicted from the cache.
The given callback will be fired after the cache entry is evicted from the cache.
Represents the cache options applied to an entry of the instance.
Gets or sets an absolute expiration date for the cache entry.
Gets or sets an absolute expiration time, relative to now.
Gets or sets how long a cache entry can be inactive (e.g. not accessed) before it will be removed.
This will not extend the entry lifetime beyond the absolute expiration (if set).
Gets the instances which cause the cache entry to expire.
Gets or sets the callbacks will be fired after the cache entry is evicted from the cache.
Gets or sets the priority for keeping the cache entry in the cache during a
memory pressure triggered cleanup. The default is .
Gets or sets the size of the cache entry value.
Signature of the callback which gets called when a cache entry expires.
The .
The information that was passed when registering the callback.
Sets an absolute expiration time, relative to now.
Sets an absolute expiration date for the cache entry.
Sets how long the cache entry can be inactive (e.g. not accessed) before it will be removed.
This will not extend the entry lifetime beyond the absolute expiration (if set).
Provides the cache options for an entry in .
Gets or sets an absolute expiration date for the cache entry.
Gets or sets an absolute expiration time, relative to now.
Gets or sets how long a cache entry can be inactive (e.g. not accessed) before it will be removed.
This will not extend the entry lifetime beyond the absolute expiration (if set).
Extension methods for setting data in an .
Sets a sequence of bytes in the specified cache with the specified key.
The cache in which to store the data.
The key to store the data in.
The data to store in the cache.
Thrown when or is null.
Asynchronously sets a sequence of bytes in the specified cache with the specified key.
The cache in which to store the data.
The key to store the data in.
The data to store in the cache.
Optional. A to cancel the operation.
A task that represents the asynchronous set operation.
Thrown when or is null.
Sets a string in the specified cache with the specified key.
The cache in which to store the data.
The key to store the data in.
The data to store in the cache.
Thrown when or is null.
Sets a string in the specified cache with the specified key.
The cache in which to store the data.
The key to store the data in.
The data to store in the cache.
The cache options for the entry.
Thrown when or is null.
Asynchronously sets a string in the specified cache with the specified key.
The cache in which to store the data.
The key to store the data in.
The data to store in the cache.
Optional. A to cancel the operation.
A task that represents the asynchronous set operation.
Thrown when or is null.
Asynchronously sets a string in the specified cache with the specified key.
The cache in which to store the data.
The key to store the data in.
The data to store in the cache.
The cache options for the entry.
Optional. A to cancel the operation.
A task that represents the asynchronous set operation.
Thrown when or is null.
Gets a string from the specified cache with the specified key.
The cache in which to store the data.
The key to get the stored data for.
The string value from the stored cache key.
Asynchronously gets a string from the specified cache with the specified key.
The cache in which to store the data.
The key to get the stored data for.
Optional. A to cancel the operation.
A task that gets the string value from the stored cache key.
Represents a distributed cache of serialized values.
Gets a value with the given key.
A string identifying the requested value.
The located value or null.
Gets a value with the given key.
A string identifying the requested value.
Optional. The used to propagate notifications that the operation should be canceled.
The that represents the asynchronous operation, containing the located value or null.
Sets a value with the given key.
A string identifying the requested value.
The value to set in the cache.
The cache options for the value.
Sets the value with the given key.
A string identifying the requested value.
The value to set in the cache.
The cache options for the value.
Optional. The used to propagate notifications that the operation should be canceled.
The that represents the asynchronous operation.
Refreshes a value in the cache based on its key, resetting its sliding expiration timeout (if any).
A string identifying the requested calue.
Refreshes a value in the cache based on its key, resetting its sliding expiration timeout (if any).
A string identifying the requested value.
Optional. The used to propagate notifications that the operation should be canceled.
The that represents the asynchronous operation.
Removes the value with the given key.
A string identifying the requested value.
Removes the value with the given key.
A string identifying the requested value.
Optional. The used to propagate notifications that the operation should be canceled.
The that represents the asynchronous operation.
Abstracts the system clock to facilitate testing.
Retrieves the current system time in UTC.
Provides access to the normal system clock.
Retrieves the current system time in UTC.