public sealed class ApiAccessTokenLocalCache : TokenInMemoryCache<string, ApiAccessTokenCacheEntry>Public NotInheritable Class ApiAccessTokenLocalCache
Inherits TokenInMemoryCache(Of String, ApiAccessTokenCacheEntry)public ref class ApiAccessTokenLocalCache sealed : public TokenInMemoryCache<String^, ApiAccessTokenCacheEntry>[<SealedAttribute>]
type ApiAccessTokenLocalCache =
class
inherit TokenInMemoryCache<string, ApiAccessTokenCacheEntry>
end| ApiAccessTokenLocalCache | Local in-memory cache for API access tokens. Use IApiAccessTokenLocalCacheProvider to resolve an instance. |
| CacheMap |
Cached values.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| CleanupPredicate |
A predicate function used to determine whether a cache entry should be removed during cleanup,
or null, if all cached entries can be cleaned up.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| Clock |
Объект для предоставления текущего времени в формате Utc.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| GetCleanupPeriodFunc |
Period after which tokens should be removed from the cache. Allowed values:
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| LastCleanup |
Date/time of last cleanup in UTC.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| Cleanup |
Performs cleanup of cache entries, if necessary.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| Clear |
Clears the cache and resets its state, removing all entries.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
| GetHashCode | Serves as the default hash function. (Унаследован от Object) |
| GetType | Gets the Type of the current instance. (Унаследован от Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| ReleaseCleanupLock |
Releases a lock for cleaning up the cache.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |
| TryAcquireCleanupLock |
Attempts to acquire a lock for cleaning up the cache if it hasn't already been acquired.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| TryAddOrUpdate |
Attempts to add or update the cache value associated with the specified key.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| TryGet(FuncTKey, TValue, Boolean, TValue) |
Attempts to retrieve the cache value that matches the specified condition.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| TryGet(TKey, TValue) |
Attempts to retrieve the cache value associated with the specified key.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| TryRemove(FuncTKey, TValue, Boolean, TValue) |
Attempts to remove the cache value that matches the specified condition.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| TryRemove(TKey, TValue) |
Attempts to remove the cache value associated with the specified key.
(Унаследован от TokenInMemoryCacheTKey, TValue) |
| TryUpdate |
Attempts to update the cache value that matches the specified condition.
(Унаследован от TokenInMemoryCacheTKey, TValue) |