| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>ReplicationManager (ActiveMQ Artemis Website 2.29.0 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <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="ReplicationManager (ActiveMQ Artemis Website 2.29.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"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":10,"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}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ReplicationManager.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="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses.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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </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>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.activemq.artemis.core.replication</a></div> |
| <h2 title="Class ReplicationManager" class="title">Class ReplicationManager</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.activemq.artemis.core.replication.ReplicationManager</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/server/ActiveMQComponent.html?is-external=true" title="class or interface in org.apache.activemq.artemis.core.server" class="externalLink">ActiveMQComponent</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public final class <span class="typeNameLabel">ReplicationManager</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> |
| implements <a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/server/ActiveMQComponent.html?is-external=true" title="class or interface in org.apache.activemq.artemis.core.server" class="externalLink">ActiveMQComponent</a></pre> |
| <div class="block">Manages replication tasks on the live server (that is the live server side of a "remote backup" |
| use case). |
| <p> |
| Its equivalent in the backup server is <a href="ReplicationEndpoint.html" title="class in org.apache.activemq.artemis.core.replication"><code>ReplicationEndpoint</code></a>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="ReplicationEndpoint.html" title="class in org.apache.activemq.artemis.core.replication"><code>ReplicationEndpoint</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="ReplicationManager.ADD_OPERATION_TYPE.html" title="enum in org.apache.activemq.artemis.core.replication">ReplicationManager.ADD_OPERATION_TYPE</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.activemq.artemis.core.server.ActiveMQServer,org.apache.activemq.artemis.core.protocol.core.CoreRemotingConnection,long,long,org.apache.activemq.artemis.utils.ExecutorFactory)">ReplicationManager</a></span>​(<a href="../server/ActiveMQServer.html" title="interface in org.apache.activemq.artemis.core.server">ActiveMQServer</a> server, |
| <a href="../protocol/core/CoreRemotingConnection.html" title="interface in org.apache.activemq.artemis.core.protocol.core">CoreRemotingConnection</a> remotingConnection, |
| long timeout, |
| long initialReplicationSyncTimeout, |
| org.apache.activemq.artemis.utils.ExecutorFactory ioExecutorFactory)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <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></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendAddRecordTransactional(byte,org.apache.activemq.artemis.core.replication.ReplicationManager.ADD_OPERATION_TYPE,long,long,byte,org.apache.activemq.artemis.core.persistence.Persister,java.lang.Object)">appendAddRecordTransactional</a></span>​(byte journalID, |
| <a href="ReplicationManager.ADD_OPERATION_TYPE.html" title="enum in org.apache.activemq.artemis.core.replication">ReplicationManager.ADD_OPERATION_TYPE</a> operation, |
| long txID, |
| long id, |
| byte recordType, |
| <a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/persistence/Persister.html?is-external=true" title="class or interface in org.apache.activemq.artemis.core.persistence" class="externalLink">Persister</a> persister, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> record)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendCommitRecord(byte,long,boolean,boolean)">appendCommitRecord</a></span>​(byte journalID, |
| long txID, |
| boolean sync, |
| boolean lineUp)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendDeleteRecord(byte,long)">appendDeleteRecord</a></span>​(byte journalID, |
| long id)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendDeleteRecordTransactional(byte,long,long)">appendDeleteRecordTransactional</a></span>​(byte journalID, |
| long txID, |
| long id)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendDeleteRecordTransactional(byte,long,long,org.apache.activemq.artemis.core.journal.EncodingSupport)">appendDeleteRecordTransactional</a></span>​(byte journalID, |
| long txID, |
| long id, |
| <a href="../journal/EncodingSupport.html" title="interface in org.apache.activemq.artemis.core.journal">EncodingSupport</a> record)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendPrepareRecord(byte,long,org.apache.activemq.artemis.core.journal.EncodingSupport)">appendPrepareRecord</a></span>​(byte journalID, |
| long txID, |
| <a href="../journal/EncodingSupport.html" title="interface in org.apache.activemq.artemis.core.journal">EncodingSupport</a> transactionData)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendRollbackRecord(byte,long)">appendRollbackRecord</a></span>​(byte journalID, |
| long txID)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendUpdateRecord(byte,org.apache.activemq.artemis.core.replication.ReplicationManager.ADD_OPERATION_TYPE,long,byte,org.apache.activemq.artemis.core.persistence.Persister,java.lang.Object)">appendUpdateRecord</a></span>​(byte journalID, |
| <a href="ReplicationManager.ADD_OPERATION_TYPE.html" title="enum in org.apache.activemq.artemis.core.replication">ReplicationManager.ADD_OPERATION_TYPE</a> operation, |
| long id, |
| byte recordType, |
| <a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/persistence/Persister.html?is-external=true" title="class or interface in org.apache.activemq.artemis.core.persistence" class="externalLink">Persister</a> persister, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> record)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clearReplicationTokens()">clearReplicationTokens</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Completes any pending operations.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../persistence/OperationContext.html" title="interface in org.apache.activemq.artemis.core.persistence">OperationContext</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getActiveTokens()">getActiveTokens</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">A list of tokens that are still waiting for replications to be completed</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../protocol/core/CoreRemotingConnection.html" title="interface in org.apache.activemq.artemis.core.protocol.core">CoreRemotingConnection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBackupTransportConnection()">getBackupTransportConnection</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Used while stopping the server to ensure that we freeze communications with the backup.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isStarted()">isStarted</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSynchronizing()">isSynchronizing</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#largeMessageBegin(long)">largeMessageBegin</a></span>​(long messageId)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#largeMessageClosed(java.lang.Long,org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager)">largeMessageClosed</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a> messageId, |
| <a href="../persistence/impl/journal/JournalStorageManager.html" title="class in org.apache.activemq.artemis.core.persistence.impl.journal">JournalStorageManager</a> storageManager)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#largeMessageDelete(java.lang.Long,org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager)">largeMessageDelete</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a> messageId, |
| <a href="../persistence/impl/journal/JournalStorageManager.html" title="class in org.apache.activemq.artemis.core.persistence.impl.journal">JournalStorageManager</a> storageManager)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#largeMessageWrite(long,byte%5B%5D)">largeMessageWrite</a></span>​(long messageId, |
| byte[] body)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pageClosed(org.apache.activemq.artemis.api.core.SimpleString,long)">pageClosed</a></span>​(<a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/SimpleString.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">SimpleString</a> storeName, |
| long pageNumber)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pageDeleted(org.apache.activemq.artemis.api.core.SimpleString,long)">pageDeleted</a></span>​(<a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/SimpleString.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">SimpleString</a> storeName, |
| long pageNumber)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pageWrite(org.apache.activemq.artemis.core.paging.PagedMessage,long)">pageWrite</a></span>​(<a href="../paging/PagedMessage.html" title="interface in org.apache.activemq.artemis.core.paging">PagedMessage</a> message, |
| long pageNumber)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sendLargeMessageIdListMessage(java.util.Map)">sendLargeMessageIdListMessage</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>,​<a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/Pair.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">Pair</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>>> largeMessages)</code></th> |
| <td class="colLast"> |
| <div class="block">Reserves several LargeMessage IDs in the backup.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="../persistence/OperationContext.html" title="interface in org.apache.activemq.artemis.core.persistence">OperationContext</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sendLiveIsStopping(org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ReplicationLiveIsStoppingMessage.LiveStopping)">sendLiveIsStopping</a></span>​(<a href="../protocol/core/impl/wireformat/ReplicationLiveIsStoppingMessage.LiveStopping.html" title="enum in org.apache.activemq.artemis.core.protocol.core.impl.wireformat">ReplicationLiveIsStoppingMessage.LiveStopping</a> finalMessage)</code></th> |
| <td class="colLast"> |
| <div class="block">Notifies the backup that the live server is stopping.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sendStartSyncMessage(org.apache.activemq.artemis.core.journal.impl.JournalFile%5B%5D,org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.JournalContent,java.lang.String,boolean)">sendStartSyncMessage</a></span>​(<a href="../journal/impl/JournalFile.html" title="interface in org.apache.activemq.artemis.core.journal.impl">JournalFile</a>[] datafiles, |
| <a href="../persistence/impl/journal/AbstractJournalStorageManager.JournalContent.html" title="enum in org.apache.activemq.artemis.core.persistence.impl.journal">AbstractJournalStorageManager.JournalContent</a> contentType, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> nodeID, |
| boolean allowsAutoFailBack)</code></th> |
| <td class="colLast"> |
| <div class="block">Reserve the following fileIDs in the backup server.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sendSynchronizationDone(java.lang.String,long,org.apache.activemq.artemis.core.io.IOCriticalErrorListener)">sendSynchronizationDone</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" class="externalLink">String</a> nodeID, |
| long initialReplicationSyncTimeout, |
| <a href="../io/IOCriticalErrorListener.html" title="interface in org.apache.activemq.artemis.core.io">IOCriticalErrorListener</a> criticalErrorListener)</code></th> |
| <td class="colLast"> |
| <div class="block">Informs backup that data synchronization is done.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#start()">start</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop()">stop</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop(boolean)">stop</a></span>​(boolean clearTokens)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#syncJournalFile(org.apache.activemq.artemis.core.journal.impl.JournalFile,org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.JournalContent)">syncJournalFile</a></span>​(<a href="../journal/impl/JournalFile.html" title="interface in org.apache.activemq.artemis.core.journal.impl">JournalFile</a> jf, |
| <a href="../persistence/impl/journal/AbstractJournalStorageManager.JournalContent.html" title="enum in org.apache.activemq.artemis.core.persistence.impl.journal">AbstractJournalStorageManager.JournalContent</a> content)</code></th> |
| <td class="colLast"> |
| <div class="block">Sends the whole content of the file to be duplicated.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#syncLargeMessageFile(org.apache.activemq.artemis.core.io.SequentialFile,long,long)">syncLargeMessageFile</a></span>​(<a href="../io/SequentialFile.html" title="interface in org.apache.activemq.artemis.core.io">SequentialFile</a> file, |
| long size, |
| long id)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#syncPages(org.apache.activemq.artemis.core.io.SequentialFile,long,org.apache.activemq.artemis.api.core.SimpleString)">syncPages</a></span>​(<a href="../io/SequentialFile.html" title="interface in org.apache.activemq.artemis.core.io">SequentialFile</a> file, |
| long id, |
| <a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/SimpleString.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">SimpleString</a> queueName)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://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" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.org.apache.activemq.artemis.core.server.ActiveMQComponent"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface org.apache.activemq.artemis.core.server.<a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/server/ActiveMQComponent.html?is-external=true" title="class or interface in org.apache.activemq.artemis.core.server" class="externalLink">ActiveMQComponent</a></h3> |
| <code><a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/server/ActiveMQComponent.html?is-external=true#asyncStop(java.lang.Runnable)" title="class or interface in org.apache.activemq.artemis.core.server" class="externalLink">asyncStop</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>(org.apache.activemq.artemis.core.server.ActiveMQServer,org.apache.activemq.artemis.core.protocol.core.CoreRemotingConnection,long,long,org.apache.activemq.artemis.utils.ExecutorFactory)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>ReplicationManager</h4> |
| <pre>public ReplicationManager​(<a href="../server/ActiveMQServer.html" title="interface in org.apache.activemq.artemis.core.server">ActiveMQServer</a> server, |
| <a href="../protocol/core/CoreRemotingConnection.html" title="interface in org.apache.activemq.artemis.core.protocol.core">CoreRemotingConnection</a> remotingConnection, |
| long timeout, |
| long initialReplicationSyncTimeout, |
| org.apache.activemq.artemis.utils.ExecutorFactory ioExecutorFactory)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>remotingConnection</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="appendUpdateRecord(byte,org.apache.activemq.artemis.core.replication.ReplicationManager.ADD_OPERATION_TYPE,long,byte,org.apache.activemq.artemis.core.persistence.Persister,java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendUpdateRecord</h4> |
| <pre class="methodSignature">public void appendUpdateRecord​(byte journalID, |
| <a href="ReplicationManager.ADD_OPERATION_TYPE.html" title="enum in org.apache.activemq.artemis.core.replication">ReplicationManager.ADD_OPERATION_TYPE</a> operation, |
| long id, |
| byte recordType, |
| <a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/persistence/Persister.html?is-external=true" title="class or interface in org.apache.activemq.artemis.core.persistence" class="externalLink">Persister</a> persister, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> record) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="appendDeleteRecord(byte,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendDeleteRecord</h4> |
| <pre class="methodSignature">public void appendDeleteRecord​(byte journalID, |
| long id) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="appendAddRecordTransactional(byte,org.apache.activemq.artemis.core.replication.ReplicationManager.ADD_OPERATION_TYPE,long,long,byte,org.apache.activemq.artemis.core.persistence.Persister,java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendAddRecordTransactional</h4> |
| <pre class="methodSignature">public void appendAddRecordTransactional​(byte journalID, |
| <a href="ReplicationManager.ADD_OPERATION_TYPE.html" title="enum in org.apache.activemq.artemis.core.replication">ReplicationManager.ADD_OPERATION_TYPE</a> operation, |
| long txID, |
| long id, |
| byte recordType, |
| <a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/persistence/Persister.html?is-external=true" title="class or interface in org.apache.activemq.artemis.core.persistence" class="externalLink">Persister</a> persister, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> record) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="appendCommitRecord(byte,long,boolean,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendCommitRecord</h4> |
| <pre class="methodSignature">public void appendCommitRecord​(byte journalID, |
| long txID, |
| boolean sync, |
| boolean lineUp) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="appendDeleteRecordTransactional(byte,long,long,org.apache.activemq.artemis.core.journal.EncodingSupport)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendDeleteRecordTransactional</h4> |
| <pre class="methodSignature">public void appendDeleteRecordTransactional​(byte journalID, |
| long txID, |
| long id, |
| <a href="../journal/EncodingSupport.html" title="interface in org.apache.activemq.artemis.core.journal">EncodingSupport</a> record) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="appendDeleteRecordTransactional(byte,long,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendDeleteRecordTransactional</h4> |
| <pre class="methodSignature">public void appendDeleteRecordTransactional​(byte journalID, |
| long txID, |
| long id) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="appendPrepareRecord(byte,long,org.apache.activemq.artemis.core.journal.EncodingSupport)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendPrepareRecord</h4> |
| <pre class="methodSignature">public void appendPrepareRecord​(byte journalID, |
| long txID, |
| <a href="../journal/EncodingSupport.html" title="interface in org.apache.activemq.artemis.core.journal">EncodingSupport</a> transactionData) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="appendRollbackRecord(byte,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>appendRollbackRecord</h4> |
| <pre class="methodSignature">public void appendRollbackRecord​(byte journalID, |
| long txID) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="pageClosed(org.apache.activemq.artemis.api.core.SimpleString,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pageClosed</h4> |
| <pre class="methodSignature">public void pageClosed​(<a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/SimpleString.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">SimpleString</a> storeName, |
| long pageNumber)</pre> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>storeName</code> - </dd> |
| <dd><code>pageNumber</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="pageDeleted(org.apache.activemq.artemis.api.core.SimpleString,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pageDeleted</h4> |
| <pre class="methodSignature">public void pageDeleted​(<a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/SimpleString.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">SimpleString</a> storeName, |
| long pageNumber)</pre> |
| </li> |
| </ul> |
| <a id="pageWrite(org.apache.activemq.artemis.core.paging.PagedMessage,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>pageWrite</h4> |
| <pre class="methodSignature">public void pageWrite​(<a href="../paging/PagedMessage.html" title="interface in org.apache.activemq.artemis.core.paging">PagedMessage</a> message, |
| long pageNumber)</pre> |
| </li> |
| </ul> |
| <a id="largeMessageBegin(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>largeMessageBegin</h4> |
| <pre class="methodSignature">public void largeMessageBegin​(long messageId)</pre> |
| </li> |
| </ul> |
| <a id="largeMessageDelete(java.lang.Long,org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>largeMessageDelete</h4> |
| <pre class="methodSignature">public void largeMessageDelete​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a> messageId, |
| <a href="../persistence/impl/journal/JournalStorageManager.html" title="class in org.apache.activemq.artemis.core.persistence.impl.journal">JournalStorageManager</a> storageManager)</pre> |
| </li> |
| </ul> |
| <a id="largeMessageClosed(java.lang.Long,org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>largeMessageClosed</h4> |
| <pre class="methodSignature">public void largeMessageClosed​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a> messageId, |
| <a href="../persistence/impl/journal/JournalStorageManager.html" title="class in org.apache.activemq.artemis.core.persistence.impl.journal">JournalStorageManager</a> storageManager)</pre> |
| </li> |
| </ul> |
| <a id="largeMessageWrite(long,byte[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>largeMessageWrite</h4> |
| <pre class="methodSignature">public void largeMessageWrite​(long messageId, |
| byte[] body)</pre> |
| </li> |
| </ul> |
| <a id="isStarted()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isStarted</h4> |
| <pre class="methodSignature">public boolean isStarted()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/server/ActiveMQComponent.html?is-external=true#isStarted()" title="class or interface in org.apache.activemq.artemis.core.server" class="externalLink">isStarted</a></code> in interface <code><a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/server/ActiveMQComponent.html?is-external=true" title="class or interface in org.apache.activemq.artemis.core.server" class="externalLink">ActiveMQComponent</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="start()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>start</h4> |
| <pre class="methodSignature">public void start() |
| throws <a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/ActiveMQException.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">ActiveMQException</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/server/ActiveMQComponent.html?is-external=true#start()" title="class or interface in org.apache.activemq.artemis.core.server" class="externalLink">start</a></code> in interface <code><a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/server/ActiveMQComponent.html?is-external=true" title="class or interface in org.apache.activemq.artemis.core.server" class="externalLink">ActiveMQComponent</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/ActiveMQException.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="stop()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stop</h4> |
| <pre class="methodSignature">public void stop() |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/server/ActiveMQComponent.html?is-external=true#stop()" title="class or interface in org.apache.activemq.artemis.core.server" class="externalLink">stop</a></code> in interface <code><a href="https://activemq.apache.org/components/artemis/artemis-server/apidocs/org/apache/activemq/artemis/core/server/ActiveMQComponent.html?is-external=true" title="class or interface in org.apache.activemq.artemis.core.server" class="externalLink">ActiveMQComponent</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="stop(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>stop</h4> |
| <pre class="methodSignature">public void stop​(boolean clearTokens) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="clearReplicationTokens()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clearReplicationTokens</h4> |
| <pre class="methodSignature">public void clearReplicationTokens()</pre> |
| <div class="block">Completes any pending operations. |
| <p> |
| This can be necessary in case the live loses connection to the backup (network failure, or |
| backup crashing).</div> |
| </li> |
| </ul> |
| <a id="getActiveTokens()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getActiveTokens</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="../persistence/OperationContext.html" title="interface in org.apache.activemq.artemis.core.persistence">OperationContext</a>> getActiveTokens()</pre> |
| <div class="block">A list of tokens that are still waiting for replications to be completed</div> |
| </li> |
| </ul> |
| <a id="syncJournalFile(org.apache.activemq.artemis.core.journal.impl.JournalFile,org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.JournalContent)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>syncJournalFile</h4> |
| <pre class="methodSignature">public void syncJournalFile​(<a href="../journal/impl/JournalFile.html" title="interface in org.apache.activemq.artemis.core.journal.impl">JournalFile</a> jf, |
| <a href="../persistence/impl/journal/AbstractJournalStorageManager.JournalContent.html" title="enum in org.apache.activemq.artemis.core.persistence.impl.journal">AbstractJournalStorageManager.JournalContent</a> content) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <div class="block">Sends the whole content of the file to be duplicated.</div> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/ActiveMQException.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">ActiveMQException</a></code></dd> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="syncLargeMessageFile(org.apache.activemq.artemis.core.io.SequentialFile,long,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>syncLargeMessageFile</h4> |
| <pre class="methodSignature">public void syncLargeMessageFile​(<a href="../io/SequentialFile.html" title="interface in org.apache.activemq.artemis.core.io">SequentialFile</a> file, |
| long size, |
| long id) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="syncPages(org.apache.activemq.artemis.core.io.SequentialFile,long,org.apache.activemq.artemis.api.core.SimpleString)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>syncPages</h4> |
| <pre class="methodSignature">public void syncPages​(<a href="../io/SequentialFile.html" title="interface in org.apache.activemq.artemis.core.io">SequentialFile</a> file, |
| long id, |
| <a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/SimpleString.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">SimpleString</a> queueName) |
| throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></pre> |
| <dl> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang" class="externalLink">Exception</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="sendStartSyncMessage(org.apache.activemq.artemis.core.journal.impl.JournalFile[],org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.JournalContent,java.lang.String,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendStartSyncMessage</h4> |
| <pre class="methodSignature">public void sendStartSyncMessage​(<a href="../journal/impl/JournalFile.html" title="interface in org.apache.activemq.artemis.core.journal.impl">JournalFile</a>[] datafiles, |
| <a href="../persistence/impl/journal/AbstractJournalStorageManager.JournalContent.html" title="enum in org.apache.activemq.artemis.core.persistence.impl.journal">AbstractJournalStorageManager.JournalContent</a> contentType, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> nodeID, |
| boolean allowsAutoFailBack) |
| throws <a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/ActiveMQException.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">ActiveMQException</a></pre> |
| <div class="block">Reserve the following fileIDs in the backup server.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>datafiles</code> - </dd> |
| <dd><code>contentType</code> - </dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/ActiveMQException.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">ActiveMQException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="sendSynchronizationDone(java.lang.String,long,org.apache.activemq.artemis.core.io.IOCriticalErrorListener)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendSynchronizationDone</h4> |
| <pre class="methodSignature">public void sendSynchronizationDone​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> nodeID, |
| long initialReplicationSyncTimeout, |
| <a href="../io/IOCriticalErrorListener.html" title="interface in org.apache.activemq.artemis.core.io">IOCriticalErrorListener</a> criticalErrorListener) |
| throws <a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/ActiveMQReplicationTimeooutException.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">ActiveMQReplicationTimeooutException</a></pre> |
| <div class="block">Informs backup that data synchronization is done. |
| <p> |
| So if 'live' fails, the (up-to-date) backup now may take over its duties. To do so, it must |
| know which is the live's <code>nodeID</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>nodeID</code> - </dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/ActiveMQReplicationTimeooutException.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">ActiveMQReplicationTimeooutException</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="sendLargeMessageIdListMessage(java.util.Map)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendLargeMessageIdListMessage</h4> |
| <pre class="methodSignature">public void sendLargeMessageIdListMessage​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>,​<a href="https://activemq.apache.org/components/artemis/artemis-core-client/apidocs/org/apache/activemq/artemis/api/core/Pair.html?is-external=true" title="class or interface in org.apache.activemq.artemis.api.core" class="externalLink">Pair</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,​<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang" class="externalLink">Long</a>>> largeMessages)</pre> |
| <div class="block">Reserves several LargeMessage IDs in the backup. |
| <p> |
| Doing this before hand removes the need of synchronizing large-message deletes with the |
| largeMessageSyncList.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>largeMessages</code> - </dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="sendLiveIsStopping(org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ReplicationLiveIsStoppingMessage.LiveStopping)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sendLiveIsStopping</h4> |
| <pre class="methodSignature">public <a href="../persistence/OperationContext.html" title="interface in org.apache.activemq.artemis.core.persistence">OperationContext</a> sendLiveIsStopping​(<a href="../protocol/core/impl/wireformat/ReplicationLiveIsStoppingMessage.LiveStopping.html" title="enum in org.apache.activemq.artemis.core.protocol.core.impl.wireformat">ReplicationLiveIsStoppingMessage.LiveStopping</a> finalMessage)</pre> |
| <div class="block">Notifies the backup that the live server is stopping. |
| <p> |
| This notification allows the backup to skip quorum voting (or any other measure to avoid |
| 'split-brain') and do a faster fail-over.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| <a id="getBackupTransportConnection()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBackupTransportConnection</h4> |
| <pre class="methodSignature">public <a href="../protocol/core/CoreRemotingConnection.html" title="interface in org.apache.activemq.artemis.core.protocol.core">CoreRemotingConnection</a> getBackupTransportConnection()</pre> |
| <div class="block">Used while stopping the server to ensure that we freeze communications with the backup.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>remoting connection with the backup</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isSynchronizing()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>isSynchronizing</h4> |
| <pre class="methodSignature">public boolean isSynchronizing()</pre> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/ReplicationManager.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="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses.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> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </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>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |