Class SdkCache
SDK-wide cache. Provides access to caches specific to a particular set of credentials and target region.
public static class SdkCache
  - Inheritance
 - 
      
      SdkCache
 
- Inherited Members
 
Methods
Clear()
Clear all caches
public static void Clear()
  Clear(object)
Clear all caches of a particular type
public static void Clear(object cacheType)
  Parameters
cacheTypeobject
GetCache<TKey, TValue>(AmazonServiceClient, object, IEqualityComparer<TKey>)
Retrieve a cache of a specific type for a client object. The client object can be null in cases where a cache does not correspond to a specific AWS account or target region.
public static ICache<TKey, TValue> GetCache<TKey, TValue>(AmazonServiceClient client, object cacheIdentifier, IEqualityComparer<TKey> keyComparer)
  Parameters
clientAmazonServiceClientcacheIdentifierobjectkeyComparerIEqualityComparer<TKey>
Returns
- ICache<TKey, TValue>
 
Type Parameters
TKeyTValue
GetCache<TKey, TValue>(object, object, IEqualityComparer<TKey>)
Retrieve a cache of a specific type for a client object. The client object can be null in cases where a cache does not correspond to a specific AWS account or target region.
public static ICache<TKey, TValue> GetCache<TKey, TValue>(object client, object cacheIdentifier, IEqualityComparer<TKey> keyComparer)
  Parameters
clientobjectcacheIdentifierobjectkeyComparerIEqualityComparer<TKey>
Returns
- ICache<TKey, TValue>
 
Type Parameters
TKeyTValue