<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>IDistributedCacheProvider Plugin Type</title><link>https://community.telligent.com/community/12/w/api-documentation/68178/idistributedcacheprovider-plugin-type</link><description>Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>IDistributedCacheProvider Plugin Type</title><link>https://community.telligent.com/community/12/w/api-documentation/68178/idistributedcacheprovider-plugin-type</link><pubDate>Fri, 15 Jan 2021 19:27:48 GMT</pubDate><guid isPermaLink="false">b1f331f7-0878-4df4-843b-567b06c6e008</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/12/w/api-documentation/68178/idistributedcacheprovider-plugin-type#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 01/15/2021 19:27:48&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;div class="documentation"&gt;&lt;p&gt;A cache shared amongst all application nodes.&lt;/p&gt;&lt;p&gt;&lt;code&gt;IDistributedCacheProvider&lt;/code&gt; is defined in the &lt;code&gt;Telligent.Evolution.Extensibility.Caching.Version1&lt;/code&gt; namespace of Telligent.Evolution.Platform.dll&lt;/p&gt;&lt;div class="documentation-stub"&gt;&lt;h2&gt;Definition&lt;/h2&gt;&lt;pre&gt;interface IDistributedCacheProvider : [[IPlugin Plugin Type|IPlugin]], [[ISingletonPlugin Plugin Type|ISingletonPlugin]]
{
	void Accessed(string[] keys);
	void Clear();
	Byte[] Get(string key);
	void Put(string key, Byte[] value, string[] tags, TimeSpan? absoluteTimeout);
	void Remove(string key);
	void RemoveByTags(string[] tags);
}
&lt;/pre&gt;&lt;/div&gt;&lt;div class="documentation-members methods"&gt;&lt;h2&gt;Methods&lt;/h2&gt;&lt;h3&gt;	void Accessed(string[] keys);
&lt;/h3&gt;&lt;p&gt;Notification that data at the provided keys was accessed from a local cache and the distributed cache implementation can update its statistics. This is not called on each access, but is called periodically based on activity.&lt;/p&gt;&lt;h4&gt;Parameters&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;keys&lt;/td&gt;&lt;td&gt;&lt;code&gt;string[]&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Keys&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h3&gt;	void Clear();
&lt;/h3&gt;&lt;p&gt;Remove all values.&lt;/p&gt;&lt;h3&gt;	Byte[] Get(string key);
&lt;/h3&gt;&lt;p&gt;Retrieves the value associated with the provided key, or null if the data does not exist in the cache.&lt;/p&gt;&lt;h4&gt;Parameters&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;key&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Key&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;Return Type&lt;/h4&gt;&lt;p&gt;&lt;code&gt;Byte[]&lt;/code&gt;&lt;/p&gt;&lt;h3&gt;	void Put(string key, Byte[] value, string[] tags, TimeSpan? absoluteTimeout);
&lt;/h3&gt;&lt;p&gt;Adds or updates the value associated with the provided key. Tags are shared identifiers associated to this cached value (tags can be null or empty). If absoluteTimeout has a value, the value is expected to expire from the cache after the provided duration (TimeSpan.Zero represents an infinite duration). If absoluteTimeout does not have a value, the cache is free to implement a default or a sliding expiration.&lt;/p&gt;&lt;h4&gt;Parameters&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;key&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Key&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;value&lt;/td&gt;&lt;td&gt;&lt;code&gt;Byte[]&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Value&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;tags&lt;/td&gt;&lt;td&gt;&lt;code&gt;string[]&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Tags&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;absoluteTimeout&lt;/td&gt;&lt;td&gt;&lt;code&gt;TimeSpan?&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Absolute Timeout&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h3&gt;	void Remove(string key);
&lt;/h3&gt;&lt;p&gt;Removes the value associated with the key.&lt;/p&gt;&lt;h4&gt;Parameters&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;key&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Key&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h3&gt;	void RemoveByTags(string[] tags);
&lt;/h3&gt;&lt;p&gt;Removes values associated with at least one of the provided tags (shared identifiers).&lt;/p&gt;&lt;h4&gt;Parameters&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;tags&lt;/td&gt;&lt;td&gt;&lt;code&gt;string[]&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Tags&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>