| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <link rel="canonical" href="https://ignite.apache.org/releases/2.2.0/dotnetdoc/class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html" /> |
| <META NAME="ROBOTS" CONTENT="NOINDEX"> |
| |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.9.1"/> |
| <title>Apache Ignite.NET: Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter< TK, TV, TData > Class Template Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="resize.js"></script> |
| <script type="text/javascript" src="navtreedata.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(initResizable); |
| $(window).load(resizeHeight); |
| </script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| |
| <script> |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); |
| |
| ga('create', 'UA-61232409-1', 'auto'); |
| ga('send', 'pageview'); |
| |
| </script></head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td id="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td> |
| <td style="padding-left: 0.5em;"> |
| <div id="projectname">Apache Ignite.NET |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.9.1 --> |
| </div><!-- top --> |
| <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| <div id="nav-tree"> |
| <div id="nav-tree-contents"> |
| <div id="nav-sync" class="sync"></div> |
| </div> |
| </div> |
| <div id="splitbar" style="-moz-user-select:none;" |
| class="ui-resizable-handle"> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| $(document).ready(function(){initNavTree('class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html','');}); |
| </script> |
| <div id="doc-content"> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="#pro-methods">Protected Member Functions</a> | |
| <a href="#properties">Properties</a> | |
| <a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter-members.html">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter< TK, TV, TData > Class Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>Cache storage adapter with parallel loading in LoadAll method. |
| <a href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#details">More...</a></p> |
| <div class="dynheader"> |
| Inheritance diagram for Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter< TK, TV, TData >:</div> |
| <div class="dyncontent"> |
| <div class="center"> |
| <img src="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.png" usemap="#Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter< TK, TV, TData >_map" alt=""/> |
| <map id="Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter< TK, TV, TData >_map" name="Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter< TK, TV, TData >_map"> |
| <area href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_i_cache_store.html" title="API for cache persistent storage for read-through and write-through behavior. " alt="Apache.Ignite.Core.Cache.Store.ICacheStore< TK, TV >" shape="rect" coords="0,56,490,80"/> |
| </map> |
| </div></div> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| Public Member Functions</h2></td></tr> |
| <tr class="memitem:abe774e788f1fa31485e8b7fdfff7801c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#abe774e788f1fa31485e8b7fdfff7801c">LoadCache</a> (Action< TK, TV > act, params object[] args)</td></tr> |
| <tr class="memdesc:abe774e788f1fa31485e8b7fdfff7801c"><td class="mdescLeft"> </td><td class="mdescRight">Loads all values from underlying persistent storage. Note that keys are not passed, so it is up to implementation to figure out what to load. This method is called whenever <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_i_cache.html#a7b22f19d0a12cf6dedec057a66e94bf7" title="Delegates to ICacheStore<K, V>.LoadCache method to load state from the underlying persistent storage...">ICache<K,V>.LocalLoadCache</a> method is invoked which is usually to preload the cache from persistent storage. <a href="#abe774e788f1fa31485e8b7fdfff7801c">More...</a><br /></td></tr> |
| <tr class="separator:abe774e788f1fa31485e8b7fdfff7801c"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a2b2eff1566d6fc49ae2aea9b854b90ef"><td class="memItemLeft" align="right" valign="top">virtual TV </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#a2b2eff1566d6fc49ae2aea9b854b90ef">Load</a> (TK key)</td></tr> |
| <tr class="memdesc:a2b2eff1566d6fc49ae2aea9b854b90ef"><td class="mdescLeft"> </td><td class="mdescRight">Loads an object. Application developers should implement this method to customize the loading of a value for a cache entry. This method is called by a cache when a requested entry is not in the cache. If the object can't be loaded <code>null</code> should be returned. <a href="#a2b2eff1566d6fc49ae2aea9b854b90ef">More...</a><br /></td></tr> |
| <tr class="separator:a2b2eff1566d6fc49ae2aea9b854b90ef"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:af02a09065e8ffdb264a1c5efac9f2e4b"><td class="memItemLeft" align="right" valign="top">virtual IEnumerable< KeyValuePair< TK, TV > > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#af02a09065e8ffdb264a1c5efac9f2e4b">LoadAll</a> (IEnumerable< TK > keys)</td></tr> |
| <tr class="memdesc:af02a09065e8ffdb264a1c5efac9f2e4b"><td class="mdescLeft"> </td><td class="mdescRight">Loads multiple objects. Application developers should implement this method to customize the loading of cache entries. This method is called when the requested object is not in the cache. If an object can't be loaded, it is not returned in the resulting map. <a href="#af02a09065e8ffdb264a1c5efac9f2e4b">More...</a><br /></td></tr> |
| <tr class="separator:af02a09065e8ffdb264a1c5efac9f2e4b"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a57e9135545622ad3785934286f55e9b5"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#a57e9135545622ad3785934286f55e9b5">Write</a> (TK key, TV val)</td></tr> |
| <tr class="memdesc:a57e9135545622ad3785934286f55e9b5"><td class="mdescLeft"> </td><td class="mdescRight">Write the specified value under the specified key to the external resource. <a href="#a57e9135545622ad3785934286f55e9b5">More...</a><br /></td></tr> |
| <tr class="separator:a57e9135545622ad3785934286f55e9b5"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a8424e4eb0e823e7b8e38bcb5ce924721"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#a8424e4eb0e823e7b8e38bcb5ce924721">WriteAll</a> (IEnumerable< KeyValuePair< TK, TV >> entries)</td></tr> |
| <tr class="memdesc:a8424e4eb0e823e7b8e38bcb5ce924721"><td class="mdescLeft"> </td><td class="mdescRight">Write the specified entries to the external resource. This method is intended to support both insert and update. <a href="#a8424e4eb0e823e7b8e38bcb5ce924721">More...</a><br /></td></tr> |
| <tr class="separator:a8424e4eb0e823e7b8e38bcb5ce924721"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a377a2639291beb495a137f8458328477"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#a377a2639291beb495a137f8458328477">Delete</a> (TK key)</td></tr> |
| <tr class="memdesc:a377a2639291beb495a137f8458328477"><td class="mdescLeft"> </td><td class="mdescRight">Delete the cache entry from the external resource. <a href="#a377a2639291beb495a137f8458328477">More...</a><br /></td></tr> |
| <tr class="separator:a377a2639291beb495a137f8458328477"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a3ca7f1e1bda2f96ec8d9f24b1eeb09db"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#a3ca7f1e1bda2f96ec8d9f24b1eeb09db">DeleteAll</a> (IEnumerable< TK > keys)</td></tr> |
| <tr class="memdesc:a3ca7f1e1bda2f96ec8d9f24b1eeb09db"><td class="mdescLeft"> </td><td class="mdescRight">Remove data and keys from the external resource for the given collection of keys, if present. <a href="#a3ca7f1e1bda2f96ec8d9f24b1eeb09db">More...</a><br /></td></tr> |
| <tr class="separator:a3ca7f1e1bda2f96ec8d9f24b1eeb09db"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a477068aaf46e25553dcbb4e8963bc587"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#a477068aaf46e25553dcbb4e8963bc587">SessionEnd</a> (bool commit)</td></tr> |
| <tr class="memdesc:a477068aaf46e25553dcbb4e8963bc587"><td class="mdescLeft"> </td><td class="mdescRight">Tells store to commit or rollback a transaction depending on the value of the <code>commit</code> parameter. <a href="#a477068aaf46e25553dcbb4e8963bc587">More...</a><br /></td></tr> |
| <tr class="separator:a477068aaf46e25553dcbb4e8963bc587"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> |
| Protected Member Functions</h2></td></tr> |
| <tr class="memitem:a1f0002f7f38168588951c37e2fcb1ce1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#a1f0002f7f38168588951c37e2fcb1ce1">CacheParallelLoadStoreAdapter</a> ()</td></tr> |
| <tr class="memdesc:a1f0002f7f38168588951c37e2fcb1ce1"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a1f0002f7f38168588951c37e2fcb1ce1">More...</a><br /></td></tr> |
| <tr class="separator:a1f0002f7f38168588951c37e2fcb1ce1"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aa98fcabc94ba63f18a5c804ecbf941d9"><td class="memItemLeft" align="right" valign="top">abstract IEnumerable< TData > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#aa98fcabc94ba63f18a5c804ecbf941d9">GetInputData</a> ()</td></tr> |
| <tr class="memdesc:aa98fcabc94ba63f18a5c804ecbf941d9"><td class="mdescLeft"> </td><td class="mdescRight">Gets the input data sequence to be used in LoadCache. <a href="#aa98fcabc94ba63f18a5c804ecbf941d9">More...</a><br /></td></tr> |
| <tr class="separator:aa98fcabc94ba63f18a5c804ecbf941d9"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ab243197eaee2e7075772664df18ab8b7"><td class="memItemLeft" align="right" valign="top">abstract KeyValuePair< TK, TV > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#ab243197eaee2e7075772664df18ab8b7">Parse</a> (TData inputRecord, params object[] args)</td></tr> |
| <tr class="memdesc:ab243197eaee2e7075772664df18ab8b7"><td class="mdescLeft"> </td><td class="mdescRight">This method should transform raw data records from GetInputData into valid key-value pairs to be stored into cache. <a href="#ab243197eaee2e7075772664df18ab8b7">More...</a><br /></td></tr> |
| <tr class="separator:ab243197eaee2e7075772664df18ab8b7"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a> |
| Properties</h2></td></tr> |
| <tr class="memitem:a310c3abcf35fc9ba4c5858cba040ea1e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html#a310c3abcf35fc9ba4c5858cba040ea1e">MaxDegreeOfParallelism</a><code> [get, set]</code></td></tr> |
| <tr class="memdesc:a310c3abcf35fc9ba4c5858cba040ea1e"><td class="mdescLeft"> </td><td class="mdescRight">Gets or sets the maximum degree of parallelism to use in LoadCache. Must be either positive or -1 for unlimited amount of threads. <a href="#a310c3abcf35fc9ba4c5858cba040ea1e">More...</a><br /></td></tr> |
| <tr class="separator:a310c3abcf35fc9ba4c5858cba040ea1e"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><p>LoadCache calls GetInputData() and iterates over it in parallel. GetInputData().GetEnumerator() result will be disposed if it implements IDisposable. Any additional post-LoadCache steps can be performed by overriding LoadCache method. </p> |
| <dl class="tparams"><dt>Template Parameters</dt><dd> |
| <table class="tparams"> |
| <tr><td class="paramname">TK</td><td>Key type.</td></tr> |
| <tr><td class="paramname">TV</td><td>Value type.</td></tr> |
| <tr><td class="paramname">TData</td><td>Custom data entry type.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="a1f0002f7f38168588951c37e2fcb1ce1"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.<a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">CacheParallelLoadStoreAdapter</a> </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a class="anchor" id="a377a2639291beb495a137f8458328477"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.Delete </td> |
| <td>(</td> |
| <td class="paramtype">TK </td> |
| <td class="paramname"><em>key</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <p>Expiry of a cache entry is not a delete hence will not cause this method to be invoked. </p> |
| <p>This method is invoked even if no mapping for the key exists. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">key</td><td>The key that is used for the delete operation.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Implements <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_i_cache_store.html#a2c107f09f24d90f070d5fa89d394bfb2">Apache.Ignite.Core.Cache.Store.ICacheStore< TK, TV ></a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a3ca7f1e1bda2f96ec8d9f24b1eeb09db"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.DeleteAll </td> |
| <td>(</td> |
| <td class="paramtype">IEnumerable< TK > </td> |
| <td class="paramname"><em>keys</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <p>The order that individual deletes occur is undefined. </p> |
| <p>If this operation fails (by throwing an exception) after a partial success, the writer must remove any successfully written entries from the entries collection so that the caching implementation knows what succeeded and can mutate the cache. </p> |
| <p>Expiry of a cache entry is not a delete hence will not cause this method to be invoked. </p> |
| <p>This method may include keys even if there is no mapping for that key, in which case the data represented by that key should be removed from the underlying resource. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">keys</td><td>a mutable collection of keys for entries to delete. Upon invocation, it contains the keys to delete for write-through. Upon return the collection must only contain the keys that were not successfully deleted.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Implements <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_i_cache_store.html#a70ca0efc14a0c8dee2a4de16c0fe4ab5">Apache.Ignite.Core.Cache.Store.ICacheStore< TK, TV ></a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aa98fcabc94ba63f18a5c804ecbf941d9"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">abstract IEnumerable<TData> <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.GetInputData </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a2b2eff1566d6fc49ae2aea9b854b90ef"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual TV <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.Load </td> |
| <td>(</td> |
| <td class="paramtype">TK </td> |
| <td class="paramname"><em>key</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">key</td><td>The key identifying the object being loaded.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>The value for the entry that is to be stored in the cache or <code>null</code> if the object can't be loaded </dd></dl> |
| |
| <p>Implements <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_i_cache_store.html#a513a1ec111c25167763b0bafef9f3b8e">Apache.Ignite.Core.Cache.Store.ICacheStore< TK, TV ></a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="af02a09065e8ffdb264a1c5efac9f2e4b"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual IEnumerable<KeyValuePair<TK, TV> > <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.LoadAll </td> |
| <td>(</td> |
| <td class="paramtype">IEnumerable< TK > </td> |
| <td class="paramname"><em>keys</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">keys</td><td>Keys identifying the values to be loaded.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>A map of key, values to be stored in the cache. </dd></dl> |
| |
| <p>Implements <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_i_cache_store.html#a31319a4bfbe9603c7358cb4232c3a30d">Apache.Ignite.Core.Cache.Store.ICacheStore< TK, TV ></a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="abe774e788f1fa31485e8b7fdfff7801c"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.LoadCache </td> |
| <td>(</td> |
| <td class="paramtype">Action< TK, TV > </td> |
| <td class="paramname"><em>act</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">params object[] </td> |
| <td class="paramname"><em>args</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <p>This method is optional, and cache implementation does not depend on this method to do anything. </p> |
| <p>For every loaded value method provided action should be called. The action will then make sure that the loaded value is stored in cache. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">act</td><td>Action for loaded values.</td></tr> |
| <tr><td class="paramname">args</td><td>Optional arguemnts passed to <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_i_cache.html#a7b22f19d0a12cf6dedec057a66e94bf7" title="Delegates to ICacheStore<K, V>.LoadCache method to load state from the underlying persistent storage...">ICache<K,V>.LocalLoadCache</a> method.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="exception"><dt>Exceptions</dt><dd> |
| <table class="exception"> |
| <tr><td class="paramname">CacheStoreException</td><td></td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Implements <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_i_cache_store.html#a930ccc208e0bd140af725fcc83dc51fa">Apache.Ignite.Core.Cache.Store.ICacheStore< TK, TV ></a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ab243197eaee2e7075772664df18ab8b7"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">abstract KeyValuePair<TK, TV> <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.Parse </td> |
| <td>(</td> |
| <td class="paramtype">TData </td> |
| <td class="paramname"><em>inputRecord</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">params object[] </td> |
| <td class="paramname"><em>args</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a477068aaf46e25553dcbb4e8963bc587"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.SessionEnd </td> |
| <td>(</td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"><em>commit</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">commit</td><td><code>True</code> if transaction should commit, <code>false</code> for rollback.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Implements <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_i_cache_store.html#ab1e59eb2242e5bcada8a2c13e5a398ab">Apache.Ignite.Core.Cache.Store.ICacheStore< TK, TV ></a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a57e9135545622ad3785934286f55e9b5"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.Write </td> |
| <td>(</td> |
| <td class="paramtype">TK </td> |
| <td class="paramname"><em>key</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">TV </td> |
| <td class="paramname"><em>val</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <p>This method is intended to support both key/value creation and value update. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">key</td><td>Key to write.</td></tr> |
| <tr><td class="paramname">val</td><td>Value to write.</td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Implements <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_i_cache_store.html#a841a2a60ea63f70e97f41212f3a5b520">Apache.Ignite.Core.Cache.Store.ICacheStore< TK, TV ></a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a8424e4eb0e823e7b8e38bcb5ce924721"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual void <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.WriteAll </td> |
| <td>(</td> |
| <td class="paramtype">IEnumerable< KeyValuePair< TK, TV >> </td> |
| <td class="paramname"><em>entries</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <p>The order that individual writes occur is undefined. </p> |
| <p>If this operation fails (by throwing an exception) after a partial success, the writer must remove any successfully written entries from the entries collection so that the caching implementation knows what succeeded and can mutate the cache. </p> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">entries</td><td>a mutable collection to write. Upon invocation, it contains the entries to write for write-through. Upon return the collection must only contain entries that were not successfully written. (see partial success above).</td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Implements <a class="el" href="interface_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_i_cache_store.html#a9018f67bf3ff70b1fd97eaaa291a288d">Apache.Ignite.Core.Cache.Store.ICacheStore< TK, TV ></a>.</p> |
| |
| </div> |
| </div> |
| <h2 class="groupheader">Property Documentation</h2> |
| <a class="anchor" id="a310c3abcf35fc9ba4c5858cba040ea1e"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">int <a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">Apache.Ignite.Core.Cache.Store.CacheParallelLoadStoreAdapter</a>< TK, TV, TData >.MaxDegreeOfParallelism</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <p>Defaults to Environment.ProcessorCount. </p> |
| |
| </div> |
| </div> |
| </div><!-- contents --> |
| </div><!-- doc-content --> |
| <!-- start footer part --> |
| <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| <ul> |
| <li class="navelem"><a class="el" href="namespace_apache.html">Apache</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite.html">Ignite</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite_1_1_core.html">Core</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache.html">Cache</a></li><li class="navelem"><a class="el" href="namespace_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store.html">Store</a></li><li class="navelem"><a class="el" href="class_apache_1_1_ignite_1_1_core_1_1_cache_1_1_store_1_1_cache_parallel_load_store_adapter.html">CacheParallelLoadStoreAdapter</a></li> |
| <li class="footer">Generated on Fri Sep 15 2017 11:37:29 for Apache Ignite.NET by |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li> |
| </ul> |
| </div> |
| </body> |
| </html> |