Microsoft.Extensions.Caching.Abstractions Sets the priority for keeping the cache entry in the cache during a memory pressure tokened cleanup. The entry to set the priority for. The to set on the entry. The for chaining. Expire the cache entry if the given expires. The . The that causes the cache entry to expire. The for chaining. Sets an absolute expiration time, relative to now. The . The representing the expiration time relative to now. The for chaining. Sets an absolute expiration date for the cache entry. The . A representing the expiration time in absolute terms. The for chaining. 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 . A representing a sliding expiration. The for chaining. The given callback will be fired after the cache entry is evicted from the cache. The . The callback to run after the entry is evicted. The for chaining. The given callback will be fired after the cache entry is evicted from the cache. The . The callback to run after the entry is evicted. The state to pass to the post-eviction callback. The for chaining. Sets the value of the cache entry. The . The value to set on the . The for chaining. Sets the size of the cache entry value. The . The size to set on the . The for chaining. Applies the values of an existing to the entry. The . Set the values of these options on the . The for chaining. 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. The option on which to set the priority. The to set on the option. The so that additional calls can be chained. Sets the size of the cache entry value. The options to set the entry size on. The size to set on the . The so that additional calls can be chained. Expire the cache entry if the given expires. The . The that causes the cache entry to expire. The so that additional calls can be chained. Sets an absolute expiration time, relative to now. The . The expiration time, relative to now. The so that additional calls can be chained. Sets an absolute expiration date for the cache entry. The . The expiration time, in absolute terms. The so that additional calls can be chained. 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 . The sliding expiration time. The so that additional calls can be chained. The given callback will be fired after the cache entry is evicted from the cache. The . The callback to register for calling after an entry is evicted. The so that additional calls can be chained. The given callback will be fired after the cache entry is evicted from the cache. The . The callback to register for calling after an entry is evicted. The state to pass to the callback. The so that additional calls can be chained. 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 key of the entry being evicted. The value of the entry being evicted. The . The information that was passed when registering the callback. Sets an absolute expiration time, relative to now. The options to be operated on. The expiration time, relative to now. Sets an absolute expiration date for the cache entry. The options to be operated on. The expiration time, in absolute terms. 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 options to be operated on. The sliding expiration time. 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.