Apache Ignite.NET
Apache.Ignite.AspNet.IgniteOutputCacheProvider Class Reference

ASP.NET output cache provider that uses Ignite cache as a storage. More...

Inheritance diagram for Apache.Ignite.AspNet.IgniteOutputCacheProvider:

Public Member Functions

override object Get (string key)
 Returns a reference to the specified entry in the output cache. More...
 
override object Add (string key, object entry, DateTime utcExpiry)
 Inserts the specified entry into the output cache. More...
 
override void Set (string key, object entry, DateTime utcExpiry)
 Inserts the specified entry into the output cache, overwriting the entry if it is already cached. More...
 
override void Remove (string key)
 Removes the specified entry from the output cache. More...
 
override void Initialize (string name, NameValueCollection config)
 Initializes the provider. More...
 

Detailed Description

You can either start Ignite yourself, and provide gridName attribute, or provide igniteConfigurationSectionName attribute to start Ignite automatically from specified configuration section (see IgniteConfigurationSection).

cacheName attribute specifies Ignite cache name to use for data storage. This attribute can be omitted if cache name is null.

Member Function Documentation

override object Apache.Ignite.AspNet.IgniteOutputCacheProvider.Add ( string  key,
object  entry,
DateTime  utcExpiry 
)
Parameters
keyA unique identifier for entry .
entryThe content to add to the output cache.
utcExpiryThe time and date on which the cached entry expires.
Returns
A reference to the specified provider.
override object Apache.Ignite.AspNet.IgniteOutputCacheProvider.Get ( string  key)
Parameters
keyA unique identifier for a cached entry in the output cache.
Returns
The key value that identifies the specified entry in the cache, or null if the specified entry is not in the cache.
override void Apache.Ignite.AspNet.IgniteOutputCacheProvider.Initialize ( string  name,
NameValueCollection  config 
)
Parameters
nameThe friendly name of the provider.
configA collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.
override void Apache.Ignite.AspNet.IgniteOutputCacheProvider.Remove ( string  key)
Parameters
keyThe unique identifier for the entry to remove from the output cache.
override void Apache.Ignite.AspNet.IgniteOutputCacheProvider.Set ( string  key,
object  entry,
DateTime  utcExpiry 
)
Parameters
keyA unique identifier for entry .
entryThe content to add to the output cache.
utcExpiryThe time and date on which the cached entry expires.