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. 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 GC, 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 memory pressure triggered cleanup. The default is . 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. 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. 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 . 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). 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. 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. 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. 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. A task that gets the string value from the stored cache key. 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.