C# Class Spring.Web.Support.SharedStateResourceCache

Resource cache implementation that uses Spring.NET page/handler state to cache resources.
Inheritance: Spring.Globalization.AbstractResourceCache
Afficher le fichier Open project: spring-projects/spring-net

Méthodes publiques

Méthode Description
SharedStateResourceCache ( ISharedStateAware sharedStateHolder ) : System.Collections.Generic

Creates a new cache instance and attaches it to the given sharedStateHolder

Méthodes protégées

Méthode Description
GetResources ( string cacheKey ) : IList

Gets the list of resources from cache.

PutResources ( string cacheKey, IList resources ) : void

Puts the list of resources in the cache.

Method Details

GetResources() protected méthode

Gets the list of resources from cache.
protected GetResources ( string cacheKey ) : IList
cacheKey string Cache key to use for lookup.
Résultat IList

PutResources() protected méthode

Puts the list of resources in the cache.
protected PutResources ( string cacheKey, IList resources ) : void
cacheKey string Cache key to use for the specified resources.
resources IList A list of resources to cache.
Résultat void

SharedStateResourceCache() public méthode

Creates a new cache instance and attaches it to the given sharedStateHolder
public SharedStateResourceCache ( ISharedStateAware sharedStateHolder ) : System.Collections.Generic
sharedStateHolder ISharedStateAware the holder of the shared state dictionary to be used for caching.
Résultat System.Collections.Generic