Apache Ignite.NET
|
ASP.NET output cache provider that uses Ignite cache as a storage. More...
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... | |
You can either start Ignite yourself, and provide gridName
attribute, or provide igniteConfigurationSectionName
attribute to start Ignite automatically from specified configuration section (see IgniteConfigurationSection) using igniteConfigurationSectionName
.
cacheName
attribute specifies Ignite cache name to use for data storage. This attribute can be omitted if cache name is null.
override object Apache.Ignite.AspNet.IgniteOutputCacheProvider.Add | ( | string | key, |
object | entry, | ||
DateTime | utcExpiry | ||
) |
key | A unique identifier for entry . |
entry | The content to add to the output cache. |
utcExpiry | The time and date on which the cached entry expires. |
override object Apache.Ignite.AspNet.IgniteOutputCacheProvider.Get | ( | string | key | ) |
key | A unique identifier for a cached entry in the output cache. |
override void Apache.Ignite.AspNet.IgniteOutputCacheProvider.Initialize | ( | string | name, |
NameValueCollection | config | ||
) |
name | The friendly name of the provider. |
config | A 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 | ) |
key | The unique identifier for the entry to remove from the output cache. |
override void Apache.Ignite.AspNet.IgniteOutputCacheProvider.Set | ( | string | key, |
object | entry, | ||
DateTime | utcExpiry | ||
) |
key | A unique identifier for entry . |
entry | The content to add to the output cache. |
utcExpiry | The time and date on which the cached entry expires. |