| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>AsyncEventQueueFactory (Apache Geode 1.15.1)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AsyncEventQueueFactory (Apache Geode 1.15.1)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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="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> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueue.html" title="interface in org.apache.geode.cache.asyncqueue"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" target="_top">Frames</a></li> |
| <li><a href="AsyncEventQueueFactory.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>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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.geode.cache.asyncqueue</div> |
| <h2 title="Interface AsyncEventQueueFactory" class="title">Interface AsyncEventQueueFactory</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public interface <span class="typeNameLabel">AsyncEventQueueFactory</span></pre> |
| <div class="block">Factory to create the <code>AsyncEventQueue</code>. Below example illustrates how to get the |
| instance of factory and create the <code>AsyncEventQueue</code>. |
| |
| <PRE> |
| Cache c = new CacheFactory().create(); |
| // get AsyncEventQueueFactory from cache |
| AsyncEventQueueFactory factory = cache.createAsyncEventQueueFactory(); |
| |
| // set the attributes on factory |
| factory.setBatchSize(batchSize); |
| factory.setBatchConflationEnabled(isConflation); |
| factory.setMaximumQueueMemory(maxMemory); |
| factory.setParallel(isParallel); |
| . |
| . |
| // create instance of AsyncEventListener |
| AsyncEventListener asyncEventListener = new <AsyncEventListener class>; |
| // create AsyncEventQueue by providing the id and instance of AsyncEventListener |
| AsyncEventQueue asyncQueue = factory.create(asyncQueueId, asyncEventListener); |
| </PRE></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>GemFire 7.0</dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========== 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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#addGatewayEventFilter-org.apache.geode.cache.wan.GatewayEventFilter-">addGatewayEventFilter</a></span>(<a href="../../../../../org/apache/geode/cache/wan/GatewayEventFilter.html" title="interface in org.apache.geode.cache.wan">GatewayEventFilter</a> filter)</code> |
| <div class="block">Adds a <code>GatewayEventFilter</code> to the attributes of AsyncEventQueue being created by |
| factory.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueue.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueue</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#create-java.lang.String-org.apache.geode.cache.asyncqueue.AsyncEventListener-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> id, |
| <a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventListener.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventListener</a> listener)</code> |
| <div class="block">Creates the <code>AsyncEventQueue</code>.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#pauseEventDispatching--">pauseEventDispatching</a></span>()</code> |
| <div class="block">Pauses the dispatching of the queued events to the listener.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#removeGatewayEventFilter-org.apache.geode.cache.wan.GatewayEventFilter-">removeGatewayEventFilter</a></span>(<a href="../../../../../org/apache/geode/cache/wan/GatewayEventFilter.html" title="interface in org.apache.geode.cache.wan">GatewayEventFilter</a> filter)</code> |
| <div class="block">Removes the provided <code>GatewayEventFilter</code> from the attributes of AsyncEventQueue |
| being created by factory.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setBatchConflationEnabled-boolean-">setBatchConflationEnabled</a></span>(boolean isConflation)</code> |
| <div class="block">Sets whether to enable batch conflation for <code>AsyncEventQueue</code>.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setBatchSize-int-">setBatchSize</a></span>(int size)</code> |
| <div class="block">Sets the batch size for an <code>AsyncEventQueue</code>'s queue.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setBatchTimeInterval-int-">setBatchTimeInterval</a></span>(int interval)</code> |
| <div class="block">Sets the batch time interval (in milliseconds) for a <code>AsyncEventQueue</code>.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setDiskStoreName-java.lang.String-">setDiskStoreName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> |
| <div class="block">Sets the disk store name for overflow or persistence.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setDiskSynchronous-boolean-">setDiskSynchronous</a></span>(boolean isSynchronous)</code> |
| <div class="block">Sets whether or not the writing to the disk is synchronous.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setDispatcherThreads-int-">setDispatcherThreads</a></span>(int numThreads)</code> |
| <div class="block">Sets the number of dispatcher threads.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setForwardExpirationDestroy-boolean-">setForwardExpirationDestroy</a></span>(boolean forward)</code> |
| <div class="block">Forwards destroy operations from expiration action to AsyncEventQueue.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setGatewayEventSubstitutionListener-org.apache.geode.cache.wan.GatewayEventSubstitutionFilter-">setGatewayEventSubstitutionListener</a></span>(<a href="../../../../../org/apache/geode/cache/wan/GatewayEventSubstitutionFilter.html" title="interface in org.apache.geode.cache.wan">GatewayEventSubstitutionFilter</a> filter)</code> |
| <div class="block">Sets the <code>GatewayEventSubstitutionFilter</code>.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setMaximumQueueMemory-int-">setMaximumQueueMemory</a></span>(int memory)</code> |
| <div class="block">Sets the maximum amount of memory (in MB) for an <code>AsyncEventQueue</code>'s queue.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setOrderPolicy-org.apache.geode.cache.wan.GatewaySender.OrderPolicy-">setOrderPolicy</a></span>(<a href="../../../../../org/apache/geode/cache/wan/GatewaySender.OrderPolicy.html" title="enum in org.apache.geode.cache.wan">GatewaySender.OrderPolicy</a> policy)</code> |
| <div class="block">Sets the order policy for multiple dispatchers.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setParallel-boolean-">setParallel</a></span>(boolean isParallel)</code> |
| <div class="block">Indicates whether all VMs need to distribute events to remote site.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html#setPersistent-boolean-">setPersistent</a></span>(boolean isPersistent)</code> |
| <div class="block">Sets whether the <code>AsyncEventQueue</code> is persistent or not.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="setDiskStoreName-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDiskStoreName</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setDiskStoreName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> |
| <div class="block">Sets the disk store name for overflow or persistence.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the disk store name for overflow or persistence</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMaximumQueueMemory-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMaximumQueueMemory</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setMaximumQueueMemory(int memory)</pre> |
| <div class="block">Sets the maximum amount of memory (in MB) for an <code>AsyncEventQueue</code>'s queue. Default |
| is 100 MB.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>memory</code> - The maximum amount of memory (in MB) for an <code>AsyncEventQueue</code>'s queue</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setDiskSynchronous-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDiskSynchronous</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setDiskSynchronous(boolean isSynchronous)</pre> |
| <div class="block">Sets whether or not the writing to the disk is synchronous. Default is true.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>isSynchronous</code> - boolean if true indicates synchronous writes</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setBatchSize-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBatchSize</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setBatchSize(int size)</pre> |
| <div class="block">Sets the batch size for an <code>AsyncEventQueue</code>'s queue. Default is 100.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>size</code> - The size of batches sent to its <code>AsyncEventListener</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setBatchTimeInterval-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBatchTimeInterval</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setBatchTimeInterval(int interval)</pre> |
| <div class="block">Sets the batch time interval (in milliseconds) for a <code>AsyncEventQueue</code>. Default is 5 |
| ms.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>interval</code> - The maximum time interval that can elapse before a partial batch is sent from a |
| <code>AsyncEventQueue</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setPersistent-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPersistent</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setPersistent(boolean isPersistent)</pre> |
| <div class="block">Sets whether the <code>AsyncEventQueue</code> is persistent or not. Default is false.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>isPersistent</code> - Whether to enable persistence for an <code>AsyncEventQueue</code>.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setParallel-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setParallel</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setParallel(boolean isParallel)</pre> |
| <div class="block">Indicates whether all VMs need to distribute events to remote site. In this case only the |
| events originating in a particular VM will be in dispatched in order. Default is false.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>isParallel</code> - boolean to indicate whether distribution policy is parallel</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setBatchConflationEnabled-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBatchConflationEnabled</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setBatchConflationEnabled(boolean isConflation)</pre> |
| <div class="block">Sets whether to enable batch conflation for <code>AsyncEventQueue</code>. Default is false.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>isConflation</code> - Whether or not to enable batch conflation for batches sent from a |
| <code>AsyncEventQueue</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setDispatcherThreads-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDispatcherThreads</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setDispatcherThreads(int numThreads)</pre> |
| <div class="block">Sets the number of dispatcher threads. Default is 5.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>numThreads</code> - the number of dispatcher threads</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="addGatewayEventFilter-org.apache.geode.cache.wan.GatewayEventFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addGatewayEventFilter</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> addGatewayEventFilter(<a href="../../../../../org/apache/geode/cache/wan/GatewayEventFilter.html" title="interface in org.apache.geode.cache.wan">GatewayEventFilter</a> filter)</pre> |
| <div class="block">Adds a <code>GatewayEventFilter</code> to the attributes of AsyncEventQueue being created by |
| factory.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - GatewayEventFilter</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeGatewayEventFilter-org.apache.geode.cache.wan.GatewayEventFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeGatewayEventFilter</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> removeGatewayEventFilter(<a href="../../../../../org/apache/geode/cache/wan/GatewayEventFilter.html" title="interface in org.apache.geode.cache.wan">GatewayEventFilter</a> filter)</pre> |
| <div class="block">Removes the provided <code>GatewayEventFilter</code> from the attributes of AsyncEventQueue |
| being created by factory.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - the <code>GatewayEventFilter</code> to remove</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setOrderPolicy-org.apache.geode.cache.wan.GatewaySender.OrderPolicy-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setOrderPolicy</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setOrderPolicy(<a href="../../../../../org/apache/geode/cache/wan/GatewaySender.OrderPolicy.html" title="enum in org.apache.geode.cache.wan">GatewaySender.OrderPolicy</a> policy)</pre> |
| <div class="block">Sets the order policy for multiple dispatchers. Default is KEY.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>policy</code> - the order policy for multiple dispatchers</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setGatewayEventSubstitutionListener-org.apache.geode.cache.wan.GatewayEventSubstitutionFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setGatewayEventSubstitutionListener</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setGatewayEventSubstitutionListener(<a href="../../../../../org/apache/geode/cache/wan/GatewayEventSubstitutionFilter.html" title="interface in org.apache.geode.cache.wan">GatewayEventSubstitutionFilter</a> filter)</pre> |
| <div class="block">Sets the <code>GatewayEventSubstitutionFilter</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - The <code>GatewayEventSubstitutionFilter</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setForwardExpirationDestroy-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setForwardExpirationDestroy</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> setForwardExpirationDestroy(boolean forward)</pre> |
| <div class="block">Forwards destroy operations from expiration action to AsyncEventQueue. By default the |
| expiration destroy events are not added to AEQ, by setting this attribute to true adds destroy |
| event to AEQ.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>forward</code> - boolean to indicate whether to forward expiration destroy events.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="pauseEventDispatching--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pauseEventDispatching</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueueFactory</a> pauseEventDispatching()</pre> |
| <div class="block">Pauses the dispatching of the queued events to the listener.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this factory</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="create-java.lang.String-org.apache.geode.cache.asyncqueue.AsyncEventListener-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>create</h4> |
| <pre><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueue.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventQueue</a> create(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> id, |
| <a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventListener.html" title="interface in org.apache.geode.cache.asyncqueue">AsyncEventListener</a> listener)</pre> |
| <div class="block">Creates the <code>AsyncEventQueue</code>. It accepts Id of AsyncEventQueue and instance of |
| AsyncEventListener. Multiple queues can be created using Same listener instance. So, the |
| instance of <code>AsyncEventListener</code> should be thread safe in that case. The |
| <code>AsyncEventListener</code> will start receiving events when the |
| <code>AsyncEventQueue</code> is created.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>id</code> - Id of AsyncEventQueue</dd> |
| <dd><code>listener</code> - <code>AsyncEventListener</code> to be added to the regions that are configured |
| to use this queue.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the created <code>AsyncEventQueue</code></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="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> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/geode/cache/asyncqueue/AsyncEventQueue.html" title="interface in org.apache.geode.cache.asyncqueue"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/geode/cache/asyncqueue/AsyncEventQueueFactory.html" target="_top">Frames</a></li> |
| <li><a href="AsyncEventQueueFactory.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>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |