blob: 8dbbb13b2170179aaed74156cd868051d4e6b292 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache Geode Native .NET Reference: Apache::Geode::Client::PoolFactory Class 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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</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="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Apache Geode Native .NET Reference
&#160;<span id="projectnumber">1.13.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a01074.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">Apache::Geode::Client::PoolFactory Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>This interface provides for the configuration and creation of instances of <a class="el" href="a01070.html" title="A pool of connections.">Pool</a>.
<a href="a01074.html#details">More...</a></p>
<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:aa7923c47752e784d6fca709dfa0eb03a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#aa7923c47752e784d6fca709dfa0eb03a">AddLocator</a> (String^ host, Int32 port)</td></tr>
<tr class="memdesc:aa7923c47752e784d6fca709dfa0eb03a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a locator, given its host and port, to this factory. <a href="#aa7923c47752e784d6fca709dfa0eb03a">More...</a><br /></td></tr>
<tr class="separator:aa7923c47752e784d6fca709dfa0eb03a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac1066ab48aca71ed8bb7f9e3a74b12d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#aac1066ab48aca71ed8bb7f9e3a74b12d">AddServer</a> (String^ host, Int32 port)</td></tr>
<tr class="memdesc:aac1066ab48aca71ed8bb7f9e3a74b12d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a server, given its host and port, to this factory. <a href="#aac1066ab48aca71ed8bb7f9e3a74b12d">More...</a><br /></td></tr>
<tr class="separator:aac1066ab48aca71ed8bb7f9e3a74b12d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a60f813bd087c229522da938e10e7a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01070.html">Pool</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a7a60f813bd087c229522da938e10e7a2">Create</a> (String^ name)</td></tr>
<tr class="memdesc:a7a60f813bd087c229522da938e10e7a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new <a class="el" href="a01070.html" title="A pool of connections.">Pool</a> for connecting a client to a set of <a class="el" href="a00381.html" title="This namespace contains all the Geode .NET classes and utility classes.">Geode</a> <a class="el" href="a00410.html" title="Provides a distributed cache.">Cache</a> Servers. <a href="#a7a60f813bd087c229522da938e10e7a2">More...</a><br /></td></tr>
<tr class="separator:a7a60f813bd087c229522da938e10e7a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa759a6e31201ae15719643cf0d647f08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#aa759a6e31201ae15719643cf0d647f08">Reset</a> ()</td></tr>
<tr class="memdesc:aa759a6e31201ae15719643cf0d647f08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the configuration of this factory to its defaults. <a href="#aa759a6e31201ae15719643cf0d647f08">More...</a><br /></td></tr>
<tr class="separator:aa759a6e31201ae15719643cf0d647f08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc22f118db74a8ff33374007ac465969"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#adc22f118db74a8ff33374007ac465969">SetFreeConnectionTimeout</a> (TimeSpan connectionTimeout)</td></tr>
<tr class="memdesc:adc22f118db74a8ff33374007ac465969"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the free connection timeout for this pool. <a href="#adc22f118db74a8ff33374007ac465969">More...</a><br /></td></tr>
<tr class="separator:adc22f118db74a8ff33374007ac465969"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30a845301b3fb7ec9ab623a6cfde4087"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a30a845301b3fb7ec9ab623a6cfde4087">SetIdleTimeout</a> (TimeSpan idleTimeout)</td></tr>
<tr class="memdesc:a30a845301b3fb7ec9ab623a6cfde4087"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the amount of time a connection can be idle before expiring the connection. <a href="#a30a845301b3fb7ec9ab623a6cfde4087">More...</a><br /></td></tr>
<tr class="separator:a30a845301b3fb7ec9ab623a6cfde4087"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb1758b4bcd15fe0e08fd8bc7463c1f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#adb1758b4bcd15fe0e08fd8bc7463c1f3">SetLoadConditioningInterval</a> (TimeSpan loadConditioningInterval)</td></tr>
<tr class="memdesc:adb1758b4bcd15fe0e08fd8bc7463c1f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the load conditioning interval for this pool. <a href="#adb1758b4bcd15fe0e08fd8bc7463c1f3">More...</a><br /></td></tr>
<tr class="separator:adb1758b4bcd15fe0e08fd8bc7463c1f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a827d77c10ffee56d66f1557f91b550e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a827d77c10ffee56d66f1557f91b550e6">SetMaxConnections</a> (Int32 maxConnections)</td></tr>
<tr class="memdesc:a827d77c10ffee56d66f1557f91b550e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the max number of client to server connections that the pool will create. <a href="#a827d77c10ffee56d66f1557f91b550e6">More...</a><br /></td></tr>
<tr class="separator:a827d77c10ffee56d66f1557f91b550e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30f6238a7a6f1bfb896b60ff8be58a59"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a30f6238a7a6f1bfb896b60ff8be58a59">SetMinConnections</a> (Int32 minConnections)</td></tr>
<tr class="memdesc:a30f6238a7a6f1bfb896b60ff8be58a59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the minimum number of connections to keep available at all times. <a href="#a30f6238a7a6f1bfb896b60ff8be58a59">More...</a><br /></td></tr>
<tr class="separator:a30f6238a7a6f1bfb896b60ff8be58a59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd587ccc1d94f20367ad9af362ed22ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#afd587ccc1d94f20367ad9af362ed22ce">SetMultiuserAuthentication</a> (bool multiuserAuthentication)</td></tr>
<tr class="memdesc:afd587ccc1d94f20367ad9af362ed22ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets whether pool is in multiuser mode If its in multiuser mode then app needs to get instance of cache from pool.getCache("creds"), to do the operations on cache. <a href="#afd587ccc1d94f20367ad9af362ed22ce">More...</a><br /></td></tr>
<tr class="separator:afd587ccc1d94f20367ad9af362ed22ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a399ee065fbc94b63a70c6daa9f38a53e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a399ee065fbc94b63a70c6daa9f38a53e">SetPingInterval</a> (TimeSpan pingInterval)</td></tr>
<tr class="memdesc:a399ee065fbc94b63a70c6daa9f38a53e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set how often to ping servers to verify that they are still alive. <a href="#a399ee065fbc94b63a70c6daa9f38a53e">More...</a><br /></td></tr>
<tr class="separator:a399ee065fbc94b63a70c6daa9f38a53e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ac11cbe0ed91bedbf9b7a608b58262f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a1ac11cbe0ed91bedbf9b7a608b58262f">SetPRSingleHopEnabled</a> (Boolean enabled)</td></tr>
<tr class="memdesc:a1ac11cbe0ed91bedbf9b7a608b58262f"><td class="mdescLeft">&#160;</td><td class="mdescRight">By default SetPRSingleHopEnabled is true. <a href="#a1ac11cbe0ed91bedbf9b7a608b58262f">More...</a><br /></td></tr>
<tr class="separator:a1ac11cbe0ed91bedbf9b7a608b58262f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dc8e7fc29b6b345b88e2f6d7f2dc845"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a3dc8e7fc29b6b345b88e2f6d7f2dc845">SetReadTimeout</a> (TimeSpan timeout)</td></tr>
<tr class="memdesc:a3dc8e7fc29b6b345b88e2f6d7f2dc845"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the time to wait for a response from a server before timing out the operation and trying another server (if any are available). <a href="#a3dc8e7fc29b6b345b88e2f6d7f2dc845">More...</a><br /></td></tr>
<tr class="separator:a3dc8e7fc29b6b345b88e2f6d7f2dc845"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6f7189a81dd0f7cd5176c4b79f921a4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#ac6f7189a81dd0f7cd5176c4b79f921a4">SetRetryAttempts</a> (Int32 retryAttempts)</td></tr>
<tr class="memdesc:ac6f7189a81dd0f7cd5176c4b79f921a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of times to retry a request after timeout/exception. <a href="#ac6f7189a81dd0f7cd5176c4b79f921a4">More...</a><br /></td></tr>
<tr class="separator:ac6f7189a81dd0f7cd5176c4b79f921a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18fce0b61fbbe87c2af2e0bba416529b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a18fce0b61fbbe87c2af2e0bba416529b">SetServerGroup</a> (String^ group)</td></tr>
<tr class="memdesc:a18fce0b61fbbe87c2af2e0bba416529b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the group that all servers this pool connects to must belong to. <a href="#a18fce0b61fbbe87c2af2e0bba416529b">More...</a><br /></td></tr>
<tr class="separator:a18fce0b61fbbe87c2af2e0bba416529b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0509122e8455e114956ff8e3e0a16660"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a0509122e8455e114956ff8e3e0a16660">SetSocketBufferSize</a> (Int32 bufferSize)</td></tr>
<tr class="memdesc:a0509122e8455e114956ff8e3e0a16660"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the socket buffer size for each connection made in this pool. <a href="#a0509122e8455e114956ff8e3e0a16660">More...</a><br /></td></tr>
<tr class="separator:a0509122e8455e114956ff8e3e0a16660"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16df71941b7c245017e81979dedc99b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a16df71941b7c245017e81979dedc99b6">SetStatisticInterval</a> (TimeSpan statisticInterval)</td></tr>
<tr class="memdesc:a16df71941b7c245017e81979dedc99b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set how often to send client statistics to the server. <a href="#a16df71941b7c245017e81979dedc99b6">More...</a><br /></td></tr>
<tr class="separator:a16df71941b7c245017e81979dedc99b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3aa54920ace74e0b74040c713d7d9c1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#af3aa54920ace74e0b74040c713d7d9c1">SetSubscriptionAckInterval</a> (TimeSpan ackInterval)</td></tr>
<tr class="memdesc:af3aa54920ace74e0b74040c713d7d9c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the is the interval in milliseconds to wait before sending acknowledgements to the bridge server for events received from the server subscriptions. <a href="#af3aa54920ace74e0b74040c713d7d9c1">More...</a><br /></td></tr>
<tr class="separator:af3aa54920ace74e0b74040c713d7d9c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26272491c92b118d8958005d8fff05c3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a26272491c92b118d8958005d8fff05c3">SetSubscriptionEnabled</a> (Boolean enabled)</td></tr>
<tr class="memdesc:a26272491c92b118d8958005d8fff05c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable subscriptions. <a href="#a26272491c92b118d8958005d8fff05c3">More...</a><br /></td></tr>
<tr class="separator:a26272491c92b118d8958005d8fff05c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a397144b2729488f4f8d2262e99fa65d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a397144b2729488f4f8d2262e99fa65d0">SetSubscriptionMessageTrackingTimeout</a> (TimeSpan messageTrackingTimeout)</td></tr>
<tr class="memdesc:a397144b2729488f4f8d2262e99fa65d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the messageTrackingTimeout attribute which is the time-to-live period, in milliseconds, for subscription events the client has received from the server. <a href="#a397144b2729488f4f8d2262e99fa65d0">More...</a><br /></td></tr>
<tr class="separator:a397144b2729488f4f8d2262e99fa65d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a344ea08976f676ef8af4907661afb84d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a344ea08976f676ef8af4907661afb84d">SetSubscriptionRedundancy</a> (Int32 redundancy)</td></tr>
<tr class="memdesc:a344ea08976f676ef8af4907661afb84d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the redundancy level for this pools server-to-client subscriptions. <a href="#a344ea08976f676ef8af4907661afb84d">More...</a><br /></td></tr>
<tr class="separator:a344ea08976f676ef8af4907661afb84d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a619bbd82825cc9691b145482a570deb5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#a619bbd82825cc9691b145482a570deb5">SetThreadLocalConnections</a> (Boolean enabled)</td></tr>
<tr class="memdesc:a619bbd82825cc9691b145482a570deb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable ThreadLocalConnection. <a href="#a619bbd82825cc9691b145482a570deb5">More...</a><br /></td></tr>
<tr class="separator:a619bbd82825cc9691b145482a570deb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf04c24674cd2efa39c00f7e900aab45"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a01074.html">PoolFactory</a> ^&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01074.html#acf04c24674cd2efa39c00f7e900aab45">SetUpdateLocatorListInterval</a> (TimeSpan updateLocatorListInterval)</td></tr>
<tr class="memdesc:acf04c24674cd2efa39c00f7e900aab45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set how often to update locator list from locator <a href="#acf04c24674cd2efa39c00f7e900aab45">More...</a><br /></td></tr>
<tr class="separator:acf04c24674cd2efa39c00f7e900aab45"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This interface provides for the configuration and creation of instances of <a class="el" href="a01070.html" title="A pool of connections.">Pool</a>. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aa7923c47752e784d6fca709dfa0eb03a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7923c47752e784d6fca709dfa0eb03a">&#9670;&nbsp;</a></span>AddLocator()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::AddLocator </td>
<td>(</td>
<td class="paramtype">String^&#160;</td>
<td class="paramname"><em>host</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Int32&#160;</td>
<td class="paramname"><em>port</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a locator, given its host and port, to this factory. </p>
<p>The locator must be a server locator and will be used to discover other running bridge servers and locators. </p>
<p>host the host name or ip address that the locator is listening on. </p>
<p>port the port that the locator is listening on </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if host is an unknown host or if port is outside the valid range of [1..65535] inclusive. </p>
<p>throws <a class="el" href="a00638.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a> if a locator has already been added to this factory. </p>
</div>
</div>
<a id="aac1066ab48aca71ed8bb7f9e3a74b12d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac1066ab48aca71ed8bb7f9e3a74b12d">&#9670;&nbsp;</a></span>AddServer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::AddServer </td>
<td>(</td>
<td class="paramtype">String^&#160;</td>
<td class="paramname"><em>host</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Int32&#160;</td>
<td class="paramname"><em>port</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a server, given its host and port, to this factory. </p>
<p>The server must be a bridge server and this client will directly connect to without consulting a server locator. </p>
<p>host the host name or ip address that the server is listening on. </p>
<p>port the port that the server is listening on </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if host is an unknown host or if port is outside the valid range of [1..65535] inclusive. </p>
<p>throws <a class="el" href="a00638.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a> if a server has already been added to this factory. </p>
</div>
</div>
<a id="a7a60f813bd087c229522da938e10e7a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a60f813bd087c229522da938e10e7a2">&#9670;&nbsp;</a></span>Create()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01070.html">Pool</a> ^ Apache::Geode::Client::PoolFactory::Create </td>
<td>(</td>
<td class="paramtype">String^&#160;</td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new <a class="el" href="a01070.html" title="A pool of connections.">Pool</a> for connecting a client to a set of <a class="el" href="a00381.html" title="This namespace contains all the Geode .NET classes and utility classes.">Geode</a> <a class="el" href="a00410.html" title="Provides a distributed cache.">Cache</a> Servers. </p>
<p>using this factory's settings for attributes. </p>
<p>name the name of the pool, used when connecting regions to it </p>
<p>throws <a class="el" href="a00638.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a> if a pool with name already exists throws <a class="el" href="a00638.html" title="Thrown when the state of cache is manipulated to be illegal.">IllegalStateException</a> if a locator or server has not been added. </p>
</div>
</div>
<a id="aa759a6e31201ae15719643cf0d647f08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa759a6e31201ae15719643cf0d647f08">&#9670;&nbsp;</a></span>Reset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::Reset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Resets the configuration of this factory to its defaults. </p>
</div>
</div>
<a id="adc22f118db74a8ff33374007ac465969"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc22f118db74a8ff33374007ac465969">&#9670;&nbsp;</a></span>SetFreeConnectionTimeout()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetFreeConnectionTimeout </td>
<td>(</td>
<td class="paramtype">TimeSpan&#160;</td>
<td class="paramname"><em>connectionTimeout</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the free connection timeout for this pool. </p>
<p>If the pool has a max connections setting, operations will block if all of the connections are in use. The free connection timeout specifies how long those operations will block waiting for a free connection before receiving an <a class="el" href="a00826.html" title="Thrown when all connections in a pool are in use.">AllConnectionsInUseException</a>. If max connections is not set this setting has no effect. </p>
<p>connectionTimeout the connection timeout </p>
<p><a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if connectionTimeout is less than or equal to 0. </p>
</div>
</div>
<a id="a30a845301b3fb7ec9ab623a6cfde4087"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30a845301b3fb7ec9ab623a6cfde4087">&#9670;&nbsp;</a></span>SetIdleTimeout()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetIdleTimeout </td>
<td>(</td>
<td class="paramtype">TimeSpan&#160;</td>
<td class="paramname"><em>idleTimeout</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the amount of time a connection can be idle before expiring the connection. </p>
<p>If the pool size is greater than the minimum specified, connections which have been idle for longer than the idleTimeout will be closed. </p>
<p>idleTimeout The amount of time that an idle connection should live before expiring. 0 indicates that connections should never expire. </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if idleTimout is less than 0. </p>
</div>
</div>
<a id="adb1758b4bcd15fe0e08fd8bc7463c1f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb1758b4bcd15fe0e08fd8bc7463c1f3">&#9670;&nbsp;</a></span>SetLoadConditioningInterval()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetLoadConditioningInterval </td>
<td>(</td>
<td class="paramtype">TimeSpan&#160;</td>
<td class="paramname"><em>loadConditioningInterval</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the load conditioning interval for this pool. </p>
<p>This interval controls how frequently the pool will check to see if a connection to a given server should be moved to a different server to improve the load balance. </p>
<p>loadConditioningInterval the connection lifetime A value of 0 disables load conditioning. </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if connectionLifetime is less than 0. </p>
</div>
</div>
<a id="a827d77c10ffee56d66f1557f91b550e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a827d77c10ffee56d66f1557f91b550e6">&#9670;&nbsp;</a></span>SetMaxConnections()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetMaxConnections </td>
<td>(</td>
<td class="paramtype">Int32&#160;</td>
<td class="paramname"><em>maxConnections</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the max number of client to server connections that the pool will create. </p>
<p>If all of the connections are in use, an operation requiring a client to server connection will block until a connection is available. see setFreeConnectionTimeout(int) </p>
<p>maxConnections the maximum number of connections in the pool. -1 indicates that there is no maximum number of connections. </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if maxConnections is less than minConnections. </p>
</div>
</div>
<a id="a30f6238a7a6f1bfb896b60ff8be58a59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30f6238a7a6f1bfb896b60ff8be58a59">&#9670;&nbsp;</a></span>SetMinConnections()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetMinConnections </td>
<td>(</td>
<td class="paramtype">Int32&#160;</td>
<td class="paramname"><em>minConnections</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the minimum number of connections to keep available at all times. </p>
<p>When the pool is created, it will create this many connections. If 0 then connections will not be made until an actual operation is done that requires client-to-server communication. </p>
<p>minConnections the initial number of connections this pool will create. </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if minConnections is less than 0. </p>
</div>
</div>
<a id="afd587ccc1d94f20367ad9af362ed22ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd587ccc1d94f20367ad9af362ed22ce">&#9670;&nbsp;</a></span>SetMultiuserAuthentication()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetMultiuserAuthentication </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>multiuserAuthentication</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets whether pool is in multiuser mode If its in multiuser mode then app needs to get instance of cache from pool.getCache("creds"), to do the operations on cache. </p>
<p>multiuserAuthentication should be true/false. Default value is false; </p>
</div>
</div>
<a id="a399ee065fbc94b63a70c6daa9f38a53e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a399ee065fbc94b63a70c6daa9f38a53e">&#9670;&nbsp;</a></span>SetPingInterval()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetPingInterval </td>
<td>(</td>
<td class="paramtype">TimeSpan&#160;</td>
<td class="paramname"><em>pingInterval</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set how often to ping servers to verify that they are still alive. </p>
<p>Each server will be sent a ping every pingInterval if there has not been any other communication with the server. These pings are used by the server to monitor the health of the client. Make sure that the pingInterval is less than the maximum time between pings allowed by the bridge server. see in CacheServer: setMaximumTimeBetweenPings(int) </p>
<p>pingInterval The amount of time between pings. </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if pingInterval is less than 0. </p>
</div>
</div>
<a id="a1ac11cbe0ed91bedbf9b7a608b58262f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ac11cbe0ed91bedbf9b7a608b58262f">&#9670;&nbsp;</a></span>SetPRSingleHopEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetPRSingleHopEnabled </td>
<td>(</td>
<td class="paramtype">Boolean&#160;</td>
<td class="paramname"><em>enabled</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>By default SetPRSingleHopEnabled is true. </p>
<p>The client is aware of the locations of partitions on servers hosting partitioned regions. Using this information, the client routes the client cache operations directly to the server which is hosting the required partition for the cache operation. If SetPRSingleHopEnabled is false the client can do an extra hop on servers to go to the required partition for that cache operation. The SetPRSingleHopEnabled avoids extra hops only for following cache operations : put, get &amp; destroy operations. </p>
</div>
</div>
<a id="a3dc8e7fc29b6b345b88e2f6d7f2dc845"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dc8e7fc29b6b345b88e2f6d7f2dc845">&#9670;&nbsp;</a></span>SetReadTimeout()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetReadTimeout </td>
<td>(</td>
<td class="paramtype">TimeSpan&#160;</td>
<td class="paramname"><em>timeout</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the time to wait for a response from a server before timing out the operation and trying another server (if any are available). </p>
<p>timeout to wait for a response from a server </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if timeout is less than or equal to 0. </p>
</div>
</div>
<a id="ac6f7189a81dd0f7cd5176c4b79f921a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6f7189a81dd0f7cd5176c4b79f921a4">&#9670;&nbsp;</a></span>SetRetryAttempts()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetRetryAttempts </td>
<td>(</td>
<td class="paramtype">Int32&#160;</td>
<td class="paramname"><em>retryAttempts</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the number of times to retry a request after timeout/exception. </p>
<p>retryAttempts The number of times to retry a request after timeout/exception. -1 indicates that a request should be tried against every available server before failing. </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if idleTimout is less than 0. </p>
</div>
</div>
<a id="a18fce0b61fbbe87c2af2e0bba416529b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18fce0b61fbbe87c2af2e0bba416529b">&#9670;&nbsp;</a></span>SetServerGroup()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetServerGroup </td>
<td>(</td>
<td class="paramtype">String^&#160;</td>
<td class="paramname"><em>group</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Configures the group that all servers this pool connects to must belong to. </p>
<p>group the server group that this pool will connect to. If null or "" then all servers will be connected to. </p>
</div>
</div>
<a id="a0509122e8455e114956ff8e3e0a16660"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0509122e8455e114956ff8e3e0a16660">&#9670;&nbsp;</a></span>SetSocketBufferSize()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetSocketBufferSize </td>
<td>(</td>
<td class="paramtype">Int32&#160;</td>
<td class="paramname"><em>bufferSize</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the socket buffer size for each connection made in this pool. </p>
<p>Large messages can be received and sent faster when this buffer is larger. Larger buffers also optimize the rate at which servers can send events for client subscriptions. </p>
<p>bufferSize the size of the socket buffers used for reading and writing on each connection in this pool. </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if bufferSize is less than or equal to 0. </p>
</div>
</div>
<a id="a16df71941b7c245017e81979dedc99b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16df71941b7c245017e81979dedc99b6">&#9670;&nbsp;</a></span>SetStatisticInterval()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetStatisticInterval </td>
<td>(</td>
<td class="paramtype">TimeSpan&#160;</td>
<td class="paramname"><em>statisticInterval</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set how often to send client statistics to the server. </p>
<p>Doing this allows gfmon to monitor clients. A value of 0 disables the sending of client statistics to the server. </p>
<p>statisticInterval The amount of time between sends of client statistics to the server. </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if statisticInterval is less than 0. </p>
</div>
</div>
<a id="af3aa54920ace74e0b74040c713d7d9c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3aa54920ace74e0b74040c713d7d9c1">&#9670;&nbsp;</a></span>SetSubscriptionAckInterval()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetSubscriptionAckInterval </td>
<td>(</td>
<td class="paramtype">TimeSpan&#160;</td>
<td class="paramname"><em>ackInterval</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the is the interval in milliseconds to wait before sending acknowledgements to the bridge server for events received from the server subscriptions. </p>
<p>ackInterval wait before sending event acknowledgements. </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if ackInterval is less than or equal to 0. </p>
</div>
</div>
<a id="a26272491c92b118d8958005d8fff05c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26272491c92b118d8958005d8fff05c3">&#9670;&nbsp;</a></span>SetSubscriptionEnabled()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetSubscriptionEnabled </td>
<td>(</td>
<td class="paramtype">Boolean&#160;</td>
<td class="paramname"><em>enabled</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enable subscriptions. </p>
<p>If set to true then the created pool will have server-to-client subscriptions enabled. If set to false then all Subscription* attributes are ignored at create time. </p>
</div>
</div>
<a id="a397144b2729488f4f8d2262e99fa65d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a397144b2729488f4f8d2262e99fa65d0">&#9670;&nbsp;</a></span>SetSubscriptionMessageTrackingTimeout()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetSubscriptionMessageTrackingTimeout </td>
<td>(</td>
<td class="paramtype">TimeSpan&#160;</td>
<td class="paramname"><em>messageTrackingTimeout</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the messageTrackingTimeout attribute which is the time-to-live period, in milliseconds, for subscription events the client has received from the server. </p>
<p>It's used to minimize duplicate events. Entries that have not been modified for this amount of time are expired from the list. </p>
<p>messageTrackingTimeout </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if messageTrackingTimeout is less than or equal to 0. </p>
</div>
</div>
<a id="a344ea08976f676ef8af4907661afb84d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a344ea08976f676ef8af4907661afb84d">&#9670;&nbsp;</a></span>SetSubscriptionRedundancy()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetSubscriptionRedundancy </td>
<td>(</td>
<td class="paramtype">Int32&#160;</td>
<td class="paramname"><em>redundancy</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the redundancy level for this pools server-to-client subscriptions. </p>
<p>If 0 then no redundant copies will be kept on the servers. Otherwise an effort will be made to maintain the requested number of copies of the server-to-client subscriptions. At most one copy per server will be made up to the requested level. </p>
<p>redundancy the number of redundant servers for this client's subscriptions. </p>
<p>throws <a class="el" href="a00634.html" title="Thrown when an argument to a method is illegal.">IllegalArgumentException</a> if redundancyLevel is less than -1. </p>
</div>
</div>
<a id="a619bbd82825cc9691b145482a570deb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a619bbd82825cc9691b145482a570deb5">&#9670;&nbsp;</a></span>SetThreadLocalConnections()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetThreadLocalConnections </td>
<td>(</td>
<td class="paramtype">Boolean&#160;</td>
<td class="paramname"><em>enabled</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enable ThreadLocalConnection. </p>
<p>Sets the thread local connections policy for this pool. If true then any time a thread goes to use a connection from this pool it will check a thread local cache and see if it already has a connection in it. If so it will use it. If not it will get one from this pool and cache it in the thread local. This gets rid of thread contention for the connections but increases the number of connections the servers see. If false then connections are returned to the pool as soon as the operation being done with the connection completes. This allows connections to be shared among multiple threads keeping the number of connections down. </p>
</div>
</div>
<a id="acf04c24674cd2efa39c00f7e900aab45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf04c24674cd2efa39c00f7e900aab45">&#9670;&nbsp;</a></span>SetUpdateLocatorListInterval()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a01074.html">PoolFactory</a> ^ Apache::Geode::Client::PoolFactory::SetUpdateLocatorListInterval </td>
<td>(</td>
<td class="paramtype">TimeSpan&#160;</td>
<td class="paramname"><em>updateLocatorListInterval</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set how often to update locator list from locator </p>
<p>updateLocatorListInterval The amount of time between updating locator list. If its set to 0 then client will not update the locator list. </p>
<dl class="section return"><dt>Returns</dt><dd>a instance of <code><a class="el" href="a00538.html" title="A factory class that must be used to obtain instance of Cache.">CacheFactory</a></code> </dd></dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<HR><address style="align: right;"><small>Apache Geode C++ Cache .NET API Documentation</small></address>