| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <link rel="canonical" href="https://ignite.apache.org/releases/2.5.0/javadoc/org/apache/ignite/configuration/ConnectorConfiguration.html" /> |
| <META NAME="ROBOTS" CONTENT="NOINDEX"> |
| |
| <!-- Generated by javadoc (1.8.0_77) on Wed May 23 17:56:15 UTC 2018 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>ConnectorConfiguration (Ignite 2.5.0)</title> |
| <meta name="date" content="2018-05-23"> |
| <link rel="stylesheet" type="text/css" href="../../../../javadoc.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| |
| <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> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ConnectorConfiguration (Ignite 2.5.0)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":42,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":42,"i37":10,"i38":10,"i39":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ConnectorConfiguration.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">Ignite - In-Memory Data Fabric</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/ignite/configuration/CommunicationFailureResolver.html" title="interface in org.apache.ignite.configuration"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/ignite/configuration/ConnectorMessageInterceptor.html" title="interface in org.apache.ignite.configuration"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/ignite/configuration/ConnectorConfiguration.html" target="_top">Frames</a></li> |
| <li><a href="ConnectorConfiguration.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.ignite.configuration</div> |
| <h2 title="Class ConnectorConfiguration" class="title">Class ConnectorConfiguration</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.ignite.configuration.ConnectorConfiguration</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">ConnectorConfiguration</span> |
| extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block">REST access configuration.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_IDLE_TIMEOUT">DFLT_IDLE_TIMEOUT</a></span></code> |
| <div class="block">Default REST idle timeout.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_KEEP_ALIVE_TIME">DFLT_KEEP_ALIVE_TIME</a></span></code> |
| <div class="block">Default keep alive time for REST thread pool.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_PORT_RANGE">DFLT_PORT_RANGE</a></span></code> |
| <div class="block">Default rest port range.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_REST_CORE_THREAD_CNT">DFLT_REST_CORE_THREAD_CNT</a></span></code> |
| <div class="block">Default size of REST thread pool.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_REST_MAX_THREAD_CNT">DFLT_REST_MAX_THREAD_CNT</a></span></code> |
| <div class="block">Default max size of REST thread pool.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_SOCK_BUF_SIZE">DFLT_SOCK_BUF_SIZE</a></span></code> |
| <div class="block">Default socket send and receive buffer size.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_TCP_DIRECT_BUF">DFLT_TCP_DIRECT_BUF</a></span></code> |
| <div class="block">Default TCP direct buffer flag.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_TCP_NODELAY">DFLT_TCP_NODELAY</a></span></code> |
| <div class="block">Default TCP_NODELAY flag.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_TCP_PORT">DFLT_TCP_PORT</a></span></code> |
| <div class="block">Default TCP server port.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_THREADPOOL_QUEUE_CAP">DFLT_THREADPOOL_QUEUE_CAP</a></span></code> |
| <div class="block">Default max queue capacity of REST thread pool.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#ConnectorConfiguration--">ConnectorConfiguration</a></span>()</code> |
| <div class="block">Creates client connection configuration with all default values.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#ConnectorConfiguration-org.apache.ignite.configuration.ConnectorConfiguration-">ConnectorConfiguration</a></span>(<a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> cfg)</code> |
| <div class="block">Creates client connection configuration by copying all properties from |
| given configuration.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getHost--">getHost</a></span>()</code> |
| <div class="block">Gets host for TCP binary protocol server.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getIdleQueryCursorCheckFrequency--">getIdleQueryCursorCheckFrequency</a></span>()</code> |
| <div class="block">Gets idle query cursors check frequency.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getIdleQueryCursorTimeout--">getIdleQueryCursorTimeout</a></span>()</code> |
| <div class="block">Gets idle query cursors timeout in milliseconds.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getIdleTimeout--">getIdleTimeout</a></span>()</code> |
| <div class="block">Gets idle timeout for REST server.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getJettyPath--">getJettyPath</a></span>()</code> |
| <div class="block">Gets path, either absolute or relative to <code>IGNITE_HOME</code>, to <code>Jetty</code> |
| XML configuration file.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorMessageInterceptor.html" title="interface in org.apache.ignite.configuration">ConnectorMessageInterceptor</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getMessageInterceptor--">getMessageInterceptor</a></span>()</code> |
| <div class="block">Gets interceptor for objects, moving to and from remote clients.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getPort--">getPort</a></span>()</code> |
| <div class="block">Gets port for TCP binary protocol server.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getPortRange--">getPortRange</a></span>()</code> |
| <div class="block">Gets number of ports to try if configured port is already in use.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getReceiveBufferSize--">getReceiveBufferSize</a></span>()</code> |
| <div class="block">Gets REST TCP server receive buffer size.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getSecretKey--">getSecretKey</a></span>()</code> |
| <div class="block">Gets secret key to authenticate REST requests.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getSelectorCount--">getSelectorCount</a></span>()</code> |
| <div class="block">Gets number of selector threads in REST TCP server.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getSendBufferSize--">getSendBufferSize</a></span>()</code> |
| <div class="block">Gets REST TCP server send buffer size.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getSendQueueLimit--">getSendQueueLimit</a></span>()</code> |
| <div class="block">Gets REST TCP server send queue limit.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>org.apache.ignite.internal.client.ssl.GridSslContextFactory</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getSslContextFactory--">getSslContextFactory</a></span>()</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">Use <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getSslFactory--"><code>getSslFactory()</code></a> instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>javax.cache.configuration.Factory<<a href="http://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl">SSLContext</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getSslFactory--">getSslFactory</a></span>()</code> |
| <div class="block">Gets context factory that will be used for creating a secure socket layer of rest binary server.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getThreadPoolSize--">getThreadPoolSize</a></span>()</code> |
| <div class="block">Should return a thread pool size to be used for |
| processing of client messages (REST requests).</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#isDirectBuffer--">isDirectBuffer</a></span>()</code> |
| <div class="block">Gets flag indicating whether REST TCP server should use direct buffers.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#isNoDelay--">isNoDelay</a></span>()</code> |
| <div class="block">Gets flag indicating whether <code>TCP_NODELAY</code> option should be set for accepted client connections.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#isSslClientAuth--">isSslClientAuth</a></span>()</code> |
| <div class="block">Gets a flag indicating whether or not remote clients will be required to have a valid SSL certificate which |
| validity will be verified with trust manager.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#isSslEnabled--">isSslEnabled</a></span>()</code> |
| <div class="block">Whether secure socket layer should be enabled on binary rest server.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setDirectBuffer-boolean-">setDirectBuffer</a></span>(boolean directBuf)</code> |
| <div class="block">Sets whether to use direct buffer for REST TCP server.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setHost-java.lang.String-">setHost</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> host)</code> |
| <div class="block">Sets host for TCP binary protocol server.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setIdleQueryCursorCheckFrequency-long-">setIdleQueryCursorCheckFrequency</a></span>(long idleQryCurCheckFreq)</code> |
| <div class="block">Sets idle query cursor check frequency.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setIdleQueryCursorTimeout-long-">setIdleQueryCursorTimeout</a></span>(long idleQryCurTimeout)</code> |
| <div class="block">Sets idle query cursors timeout.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setIdleTimeout-long-">setIdleTimeout</a></span>(long idleTimeout)</code> |
| <div class="block">Sets idle timeout for REST server.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setJettyPath-java.lang.String-">setJettyPath</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> jettyPath)</code> |
| <div class="block">Sets path, either absolute or relative to <code>IGNITE_HOME</code>, to <code>JETTY</code> |
| XML configuration file.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setMessageInterceptor-org.apache.ignite.configuration.ConnectorMessageInterceptor-">setMessageInterceptor</a></span>(<a href="../../../../org/apache/ignite/configuration/ConnectorMessageInterceptor.html" title="interface in org.apache.ignite.configuration">ConnectorMessageInterceptor</a> interceptor)</code> |
| <div class="block">Sets client message interceptor.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setNoDelay-boolean-">setNoDelay</a></span>(boolean noDelay)</code> |
| <div class="block">Sets whether <code>TCP_NODELAY</code> option should be set for all accepted client connections.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setPort-int-">setPort</a></span>(int port)</code> |
| <div class="block">Sets port for TCP binary protocol server.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setPortRange-int-">setPortRange</a></span>(int portRange)</code> |
| <div class="block">Sets number of ports to try if configured one is in use.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setReceiveBufferSize-int-">setReceiveBufferSize</a></span>(int rcvBufSize)</code> |
| <div class="block">Sets REST TCP server receive buffer size.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSecretKey-java.lang.String-">setSecretKey</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> secretKey)</code> |
| <div class="block">Sets secret key to authenticate REST requests.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSelectorCount-int-">setSelectorCount</a></span>(int selectorCnt)</code> |
| <div class="block">Sets number of selector threads for REST TCP server.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSendBufferSize-int-">setSendBufferSize</a></span>(int sndBufSize)</code> |
| <div class="block">Sets REST TCP server send buffer size.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSendQueueLimit-int-">setSendQueueLimit</a></span>(int sndQueueLimit)</code> |
| <div class="block">Sets REST TCP server send queue limit.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSslClientAuth-boolean-">setSslClientAuth</a></span>(boolean sslClientAuth)</code> |
| <div class="block">Sets flag indicating whether or not SSL client authentication is required.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSslContextFactory-org.apache.ignite.internal.client.ssl.GridSslContextFactory-">setSslContextFactory</a></span>(org.apache.ignite.internal.client.ssl.GridSslContextFactory sslCtxFactory)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">Use <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSslFactory-javax.cache.configuration.Factory-"><code>setSslFactory(Factory)</code></a> instead.</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSslEnabled-boolean-">setSslEnabled</a></span>(boolean sslEnabled)</code> |
| <div class="block">Sets whether Secure Socket Layer should be enabled for REST TCP binary protocol.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSslFactory-javax.cache.configuration.Factory-">setSslFactory</a></span>(javax.cache.configuration.Factory<<a href="http://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl">SSLContext</a>> sslFactory)</code> |
| <div class="block">Sets instance of <code>Factory</code> that will be used to create an instance of <code>SSLContext</code> |
| for Secure Socket Layer on TCP binary protocol.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setThreadPoolSize-int-">setThreadPoolSize</a></span>(int threadPoolSize)</code> |
| <div class="block">Sets thread pool size to use for processing of client messages (REST requests).</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="DFLT_TCP_PORT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_TCP_PORT</h4> |
| <pre>public static final int DFLT_TCP_PORT</pre> |
| <div class="block">Default TCP server port.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.ConnectorConfiguration.DFLT_TCP_PORT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DFLT_TCP_NODELAY"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_TCP_NODELAY</h4> |
| <pre>public static final boolean DFLT_TCP_NODELAY</pre> |
| <div class="block">Default TCP_NODELAY flag.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.ConnectorConfiguration.DFLT_TCP_NODELAY">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DFLT_TCP_DIRECT_BUF"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_TCP_DIRECT_BUF</h4> |
| <pre>public static final boolean DFLT_TCP_DIRECT_BUF</pre> |
| <div class="block">Default TCP direct buffer flag.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.ConnectorConfiguration.DFLT_TCP_DIRECT_BUF">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DFLT_IDLE_TIMEOUT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_IDLE_TIMEOUT</h4> |
| <pre>public static final int DFLT_IDLE_TIMEOUT</pre> |
| <div class="block">Default REST idle timeout.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.ConnectorConfiguration.DFLT_IDLE_TIMEOUT">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DFLT_PORT_RANGE"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_PORT_RANGE</h4> |
| <pre>public static final int DFLT_PORT_RANGE</pre> |
| <div class="block">Default rest port range.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.ConnectorConfiguration.DFLT_PORT_RANGE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DFLT_REST_CORE_THREAD_CNT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_REST_CORE_THREAD_CNT</h4> |
| <pre>public static final int DFLT_REST_CORE_THREAD_CNT</pre> |
| <div class="block">Default size of REST thread pool.</div> |
| </li> |
| </ul> |
| <a name="DFLT_REST_MAX_THREAD_CNT"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_REST_MAX_THREAD_CNT</h4> |
| <pre>public static final int DFLT_REST_MAX_THREAD_CNT</pre> |
| <div class="block">Default max size of REST thread pool.</div> |
| </li> |
| </ul> |
| <a name="DFLT_KEEP_ALIVE_TIME"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_KEEP_ALIVE_TIME</h4> |
| <pre>public static final long DFLT_KEEP_ALIVE_TIME</pre> |
| <div class="block">Default keep alive time for REST thread pool.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.ConnectorConfiguration.DFLT_KEEP_ALIVE_TIME">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DFLT_THREADPOOL_QUEUE_CAP"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DFLT_THREADPOOL_QUEUE_CAP</h4> |
| <pre>public static final int DFLT_THREADPOOL_QUEUE_CAP</pre> |
| <div class="block">Default max queue capacity of REST thread pool.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.ConnectorConfiguration.DFLT_THREADPOOL_QUEUE_CAP">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DFLT_SOCK_BUF_SIZE"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DFLT_SOCK_BUF_SIZE</h4> |
| <pre>public static final int DFLT_SOCK_BUF_SIZE</pre> |
| <div class="block">Default socket send and receive buffer size.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../constant-values.html#org.apache.ignite.configuration.ConnectorConfiguration.DFLT_SOCK_BUF_SIZE">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="ConnectorConfiguration--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ConnectorConfiguration</h4> |
| <pre>public ConnectorConfiguration()</pre> |
| <div class="block">Creates client connection configuration with all default values.</div> |
| </li> |
| </ul> |
| <a name="ConnectorConfiguration-org.apache.ignite.configuration.ConnectorConfiguration-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ConnectorConfiguration</h4> |
| <pre>public ConnectorConfiguration(<a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> cfg)</pre> |
| <div class="block">Creates client connection configuration by copying all properties from |
| given configuration.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>cfg</code> - Client configuration.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="setJettyPath-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setJettyPath</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setJettyPath(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> jettyPath)</pre> |
| <div class="block">Sets path, either absolute or relative to <code>IGNITE_HOME</code>, to <code>JETTY</code> |
| XML configuration file. <code>JETTY</code> is used to support REST over HTTP protocol for |
| accessing Ignite APIs remotely.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>jettyPath</code> - Path to <code>JETTY</code> XML configuration file.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getJettyPath--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getJettyPath</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getJettyPath()</pre> |
| <div class="block">Gets path, either absolute or relative to <code>IGNITE_HOME</code>, to <code>Jetty</code> |
| XML configuration file. <code>Jetty</code> is used to support REST over HTTP protocol for |
| accessing Ignite APIs remotely. |
| <p> |
| If not provided, Jetty instance with default configuration will be started picking |
| <a href="../../../../org/apache/ignite/IgniteSystemProperties.html#IGNITE_JETTY_HOST"><code>IgniteSystemProperties.IGNITE_JETTY_HOST</code></a> and <a href="../../../../org/apache/ignite/IgniteSystemProperties.html#IGNITE_JETTY_PORT"><code>IgniteSystemProperties.IGNITE_JETTY_PORT</code></a> |
| as host and port respectively.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Path to <code>JETTY</code> XML configuration file.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/IgniteSystemProperties.html#IGNITE_JETTY_HOST"><code>IgniteSystemProperties.IGNITE_JETTY_HOST</code></a>, |
| <a href="../../../../org/apache/ignite/IgniteSystemProperties.html#IGNITE_JETTY_PORT"><code>IgniteSystemProperties.IGNITE_JETTY_PORT</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSecretKey-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSecretKey</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setSecretKey(@Nullable |
| <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> secretKey)</pre> |
| <div class="block">Sets secret key to authenticate REST requests. If key is <code>null</code> or empty authentication is disabled.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>secretKey</code> - REST secret key.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSecretKey--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSecretKey</h4> |
| <pre>@Nullable |
| public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getSecretKey()</pre> |
| <div class="block">Gets secret key to authenticate REST requests. If key is <code>null</code> or empty authentication is disabled.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Secret key.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/IgniteSystemProperties.html#IGNITE_JETTY_HOST"><code>IgniteSystemProperties.IGNITE_JETTY_HOST</code></a>, |
| <a href="../../../../org/apache/ignite/IgniteSystemProperties.html#IGNITE_JETTY_PORT"><code>IgniteSystemProperties.IGNITE_JETTY_PORT</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getHost--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHost</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getHost()</pre> |
| <div class="block">Gets host for TCP binary protocol server. This can be either an |
| IP address or a domain name. |
| <p> |
| If not defined, system-wide local address will be used |
| (see <a href="../../../../org/apache/ignite/configuration/IgniteConfiguration.html#getLocalHost--"><code>IgniteConfiguration.getLocalHost()</code></a>. |
| <p> |
| You can also use <code>0.0.0.0</code> value to bind to all |
| locally-available IP addresses.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>TCP host.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setHost-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHost</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setHost(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> host)</pre> |
| <div class="block">Sets host for TCP binary protocol server.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>host</code> - TCP host.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPort--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPort</h4> |
| <pre>public int getPort()</pre> |
| <div class="block">Gets port for TCP binary protocol server. |
| <p> |
| Default is <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_TCP_PORT"><code>DFLT_TCP_PORT</code></a>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>TCP port.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setPort-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPort</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setPort(int port)</pre> |
| <div class="block">Sets port for TCP binary protocol server.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>port</code> - TCP port.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isNoDelay--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isNoDelay</h4> |
| <pre>public boolean isNoDelay()</pre> |
| <div class="block">Gets flag indicating whether <code>TCP_NODELAY</code> option should be set for accepted client connections. |
| Setting this option reduces network latency and should be set to <code>true</code> in majority of cases. |
| For more information, see <a href="http://docs.oracle.com/javase/8/docs/api/java/net/Socket.html?is-external=true#setTcpNoDelay-boolean-" title="class or interface in java.net"><code>Socket.setTcpNoDelay(boolean)</code></a> |
| <p/> |
| If not specified, default value is <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#DFLT_TCP_NODELAY"><code>DFLT_TCP_NODELAY</code></a>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Whether <code>TCP_NODELAY</code> option should be enabled.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setNoDelay-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setNoDelay</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setNoDelay(boolean noDelay)</pre> |
| <div class="block">Sets whether <code>TCP_NODELAY</code> option should be set for all accepted client connections.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>noDelay</code> - <code>True</code> if option should be enabled.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#isNoDelay--"><code>isNoDelay()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isDirectBuffer--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isDirectBuffer</h4> |
| <pre>public boolean isDirectBuffer()</pre> |
| <div class="block">Gets flag indicating whether REST TCP server should use direct buffers. A direct buffer is a buffer |
| that is allocated and accessed using native system calls, without using JVM heap. Enabling direct |
| buffer <em>may</em> improve performance and avoid memory issues (long GC pauses due to huge buffer |
| size).</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Whether direct buffer should be used.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setDirectBuffer-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDirectBuffer</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setDirectBuffer(boolean directBuf)</pre> |
| <div class="block">Sets whether to use direct buffer for REST TCP server.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>directBuf</code> - <code>True</code> if option should be enabled.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#isDirectBuffer--"><code>isDirectBuffer()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSendBufferSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSendBufferSize</h4> |
| <pre>public int getSendBufferSize()</pre> |
| <div class="block">Gets REST TCP server send buffer size.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>REST TCP server send buffer size (0 for default).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSendBufferSize-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSendBufferSize</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setSendBufferSize(int sndBufSize)</pre> |
| <div class="block">Sets REST TCP server send buffer size.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sndBufSize</code> - Send buffer size.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getSendBufferSize--"><code>getSendBufferSize()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getReceiveBufferSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReceiveBufferSize</h4> |
| <pre>public int getReceiveBufferSize()</pre> |
| <div class="block">Gets REST TCP server receive buffer size.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>REST TCP server receive buffer size (0 for default).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setReceiveBufferSize-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setReceiveBufferSize</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setReceiveBufferSize(int rcvBufSize)</pre> |
| <div class="block">Sets REST TCP server receive buffer size.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rcvBufSize</code> - Receive buffer size.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getReceiveBufferSize--"><code>getReceiveBufferSize()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSendQueueLimit--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSendQueueLimit</h4> |
| <pre>public int getSendQueueLimit()</pre> |
| <div class="block">Gets REST TCP server send queue limit. If the limit exceeds, all successive writes will |
| block until the queue has enough capacity.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>REST TCP server send queue limit (0 for unlimited).</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSendQueueLimit-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSendQueueLimit</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setSendQueueLimit(int sndQueueLimit)</pre> |
| <div class="block">Sets REST TCP server send queue limit.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sndQueueLimit</code> - REST TCP server send queue limit (0 for unlimited).</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getSendQueueLimit--"><code>getSendQueueLimit()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSelectorCount--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSelectorCount</h4> |
| <pre>public int getSelectorCount()</pre> |
| <div class="block">Gets number of selector threads in REST TCP server. Higher value for this parameter |
| may increase throughput, but also increases context switching.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Number of selector threads for REST TCP server.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSelectorCount-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSelectorCount</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setSelectorCount(int selectorCnt)</pre> |
| <div class="block">Sets number of selector threads for REST TCP server.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>selectorCnt</code> - Number of selector threads for REST TCP server.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getSelectorCount--"><code>getSelectorCount()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getIdleTimeout--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIdleTimeout</h4> |
| <pre>public long getIdleTimeout()</pre> |
| <div class="block">Gets idle timeout for REST server. |
| <p> |
| This setting is used to reject half-opened sockets. If no packets |
| come within idle timeout, the connection is closed.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Idle timeout in milliseconds.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setIdleTimeout-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIdleTimeout</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setIdleTimeout(long idleTimeout)</pre> |
| <div class="block">Sets idle timeout for REST server.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idleTimeout</code> - Idle timeout in milliseconds.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getIdleTimeout--"><code>getIdleTimeout()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isSslEnabled--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isSslEnabled</h4> |
| <pre>public boolean isSslEnabled()</pre> |
| <div class="block">Whether secure socket layer should be enabled on binary rest server. |
| <p> |
| Note that if this flag is set to <code>true</code>, an instance of <code>GridSslContextFactory</code> |
| should be provided, otherwise binary rest protocol will fail to start.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>True</code> if SSL should be enabled.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSslEnabled-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSslEnabled</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setSslEnabled(boolean sslEnabled)</pre> |
| <div class="block">Sets whether Secure Socket Layer should be enabled for REST TCP binary protocol. |
| <p/> |
| Note that if this flag is set to <code>true</code>, then a valid instance of <code>GridSslContextFactory</code> |
| should be provided in <a href="../../../../org/apache/ignite/configuration/IgniteConfiguration.html" title="class in org.apache.ignite.configuration"><code>IgniteConfiguration</code></a>. Otherwise, TCP binary protocol will fail to start.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sslEnabled</code> - <code>True</code> if SSL should be enabled.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="isSslClientAuth--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isSslClientAuth</h4> |
| <pre>public boolean isSslClientAuth()</pre> |
| <div class="block">Gets a flag indicating whether or not remote clients will be required to have a valid SSL certificate which |
| validity will be verified with trust manager.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Whether or not client authentication is required.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSslClientAuth-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSslClientAuth</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setSslClientAuth(boolean sslClientAuth)</pre> |
| <div class="block">Sets flag indicating whether or not SSL client authentication is required.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sslClientAuth</code> - Whether or not client authentication is required.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSslContextFactory--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSslContextFactory</h4> |
| <pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public org.apache.ignite.internal.client.ssl.GridSslContextFactory getSslContextFactory()</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getSslFactory--"><code>getSslFactory()</code></a> instead.</span></div> |
| <div class="block">Gets context factory that will be used for creating a secure socket layer of rest binary server.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>SslContextFactory instance.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><code>GridSslContextFactory</code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSslContextFactory-org.apache.ignite.internal.client.ssl.GridSslContextFactory-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSslContextFactory</h4> |
| <pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> |
| public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setSslContextFactory(org.apache.ignite.internal.client.ssl.GridSslContextFactory sslCtxFactory)</pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSslFactory-javax.cache.configuration.Factory-"><code>setSslFactory(Factory)</code></a> instead.</span></div> |
| <div class="block">Sets instance of <code>GridSslContextFactory</code> that will be used to create an instance of <code>SSLContext</code> |
| for Secure Socket Layer on TCP binary protocol. This factory will only be used if |
| <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSslEnabled-boolean-"><code>setSslEnabled(boolean)</code></a> is set to <code>true</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sslCtxFactory</code> - Instance of <code>GridSslContextFactory</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSslFactory--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSslFactory</h4> |
| <pre>public javax.cache.configuration.Factory<<a href="http://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl">SSLContext</a>> getSslFactory()</pre> |
| <div class="block">Gets context factory that will be used for creating a secure socket layer of rest binary server.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>SSL context factory instance.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/ssl/SslContextFactory.html" title="class in org.apache.ignite.ssl"><code>SslContextFactory</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSslFactory-javax.cache.configuration.Factory-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSslFactory</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setSslFactory(javax.cache.configuration.Factory<<a href="http://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLContext.html?is-external=true" title="class or interface in javax.net.ssl">SSLContext</a>> sslFactory)</pre> |
| <div class="block">Sets instance of <code>Factory</code> that will be used to create an instance of <code>SSLContext</code> |
| for Secure Socket Layer on TCP binary protocol. This factory will only be used if |
| <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setSslEnabled-boolean-"><code>setSslEnabled(boolean)</code></a> is set to <code>true</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sslFactory</code> - Instance of <code>Factory</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPortRange--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPortRange</h4> |
| <pre>public int getPortRange()</pre> |
| <div class="block">Gets number of ports to try if configured port is already in use. |
| |
| If port range value is <tt>0</tt>, then implementation will try bind only to the port provided by |
| <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#setPort-int-"><code>setPort(int)</code></a> method and fail if binding to this port did not succeed.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Number of ports to try.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setPortRange-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPortRange</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setPortRange(int portRange)</pre> |
| <div class="block">Sets number of ports to try if configured one is in use.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>portRange</code> - Port range.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getThreadPoolSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getThreadPoolSize</h4> |
| <pre>public int getThreadPoolSize()</pre> |
| <div class="block">Should return a thread pool size to be used for |
| processing of client messages (REST requests).</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Thread pool size to be used for processing of client |
| messages.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setThreadPoolSize-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setThreadPoolSize</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setThreadPoolSize(int threadPoolSize)</pre> |
| <div class="block">Sets thread pool size to use for processing of client messages (REST requests).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>threadPoolSize</code> - Thread pool size to use for processing of client messages.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getThreadPoolSize--"><code>getThreadPoolSize()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMessageInterceptor--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMessageInterceptor</h4> |
| <pre>@Nullable |
| public <a href="../../../../org/apache/ignite/configuration/ConnectorMessageInterceptor.html" title="interface in org.apache.ignite.configuration">ConnectorMessageInterceptor</a> getMessageInterceptor()</pre> |
| <div class="block">Gets interceptor for objects, moving to and from remote clients. |
| If this method returns <code>null</code> then no interception will be applied. |
| <p> |
| Setting interceptor allows to transform all objects exchanged via REST protocol. |
| For example if you use custom serialisation on client you can write interceptor |
| to transform binary representations received from client to Java objects and later |
| access them from java code directly. |
| <p> |
| Default value is <code>null</code>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Interceptor.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/ConnectorMessageInterceptor.html" title="interface in org.apache.ignite.configuration"><code>ConnectorMessageInterceptor</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMessageInterceptor-org.apache.ignite.configuration.ConnectorMessageInterceptor-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMessageInterceptor</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setMessageInterceptor(<a href="../../../../org/apache/ignite/configuration/ConnectorMessageInterceptor.html" title="interface in org.apache.ignite.configuration">ConnectorMessageInterceptor</a> interceptor)</pre> |
| <div class="block">Sets client message interceptor. |
| <p> |
| Setting interceptor allows to transform all objects exchanged via REST protocol. |
| For example if you use custom serialisation on client you can write interceptor |
| to transform binary representations received from client to Java objects and later |
| access them from java code directly.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>interceptor</code> - Interceptor.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setIdleQueryCursorTimeout-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIdleQueryCursorTimeout</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setIdleQueryCursorTimeout(long idleQryCurTimeout)</pre> |
| <div class="block">Sets idle query cursors timeout.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idleQryCurTimeout</code> - Idle query cursors timeout in milliseconds.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getIdleQueryCursorTimeout--"><code>getIdleQueryCursorTimeout()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getIdleQueryCursorTimeout--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getIdleQueryCursorTimeout</h4> |
| <pre>public long getIdleQueryCursorTimeout()</pre> |
| <div class="block">Gets idle query cursors timeout in milliseconds. |
| <p> |
| This setting is used to reject open query cursors that is not used. If no fetch query request |
| come within idle timeout, it will be removed on next check for old query cursors |
| (see <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getIdleQueryCursorCheckFrequency--"><code>getIdleQueryCursorCheckFrequency()</code></a>).</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Idle query cursors timeout in milliseconds</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setIdleQueryCursorCheckFrequency-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setIdleQueryCursorCheckFrequency</h4> |
| <pre>public <a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html" title="class in org.apache.ignite.configuration">ConnectorConfiguration</a> setIdleQueryCursorCheckFrequency(long idleQryCurCheckFreq)</pre> |
| <div class="block">Sets idle query cursor check frequency.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>idleQryCurCheckFreq</code> - Idle query check frequency in milliseconds.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>this</code> for chaining.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/apache/ignite/configuration/ConnectorConfiguration.html#getIdleQueryCursorCheckFrequency--"><code>getIdleQueryCursorCheckFrequency()</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getIdleQueryCursorCheckFrequency--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getIdleQueryCursorCheckFrequency</h4> |
| <pre>public long getIdleQueryCursorCheckFrequency()</pre> |
| <div class="block">Gets idle query cursors check frequency. |
| This setting is used to reject open query cursors that is not used. |
| <p> |
| Scheduler tries with specified period to close queries' cursors that are overtime.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Idle query cursor check frequency in milliseconds.</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ConnectorConfiguration.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage">Ignite - In-Memory Data Fabric</div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/ignite/configuration/CommunicationFailureResolver.html" title="interface in org.apache.ignite.configuration"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/ignite/configuration/ConnectorMessageInterceptor.html" title="interface in org.apache.ignite.configuration"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/ignite/configuration/ConnectorConfiguration.html" target="_top">Frames</a></li> |
| <li><a href="ConnectorConfiguration.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small><table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px"> <tr> <td> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <a target=_blank href="https://ignite.apache.org"><nobr>2018 Copyright © Apache Software Foundation</nobr></a> </td> </tr> </tbody> </table> </td> <td width="100%" align="right" valign="center"> <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a> </td> </tr> <tr> <td colspan="2" valign="top" align="left"> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <b>Ignite Fabric</b> </td> <td>: ver. <strong>2.5.0</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>: May 23 2018 </td> </tr> </tbody> </table> </td> </tr> </table></small></p> |
| </body> |
| </html> |