public final class ReplicationEndpoint extends Object implements org.apache.activemq.artemis.core.protocol.core.ChannelHandler, org.apache.activemq.artemis.core.server.ActiveMQComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
ReplicationEndpoint.JournalSyncFile |
| Constructor and Description |
|---|
ReplicationEndpoint(ActiveMQServerImpl server,
org.apache.activemq.artemis.core.io.IOCriticalErrorListener criticalErrorListener,
boolean wantedFailBack,
SharedNothingBackupActivation activation) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.activemq.artemis.core.protocol.core.Channel |
getChannel() |
void |
handlePacket(org.apache.activemq.artemis.core.protocol.core.Packet packet) |
boolean |
isStarted() |
void |
registerJournal(byte id,
org.apache.activemq.artemis.core.journal.Journal journal) |
void |
setBackupQuorum(SharedNothingBackupQuorum backupQuorum)
Sets the quorumManager used by the server in the replicationEndpoint.
|
void |
setChannel(org.apache.activemq.artemis.core.protocol.core.Channel channel) |
void |
setExecutor(Executor executor2) |
void |
start() |
void |
stop() |
public ReplicationEndpoint(ActiveMQServerImpl server, org.apache.activemq.artemis.core.io.IOCriticalErrorListener criticalErrorListener, boolean wantedFailBack, SharedNothingBackupActivation activation)
public void registerJournal(byte id,
org.apache.activemq.artemis.core.journal.Journal journal)
public void handlePacket(org.apache.activemq.artemis.core.protocol.core.Packet packet)
handlePacket in interface org.apache.activemq.artemis.core.protocol.core.ChannelHandlerpublic boolean isStarted()
isStarted in interface org.apache.activemq.artemis.core.server.ActiveMQComponentpublic void start()
throws Exception
start in interface org.apache.activemq.artemis.core.server.ActiveMQComponentExceptionpublic void stop()
throws Exception
stop in interface org.apache.activemq.artemis.core.server.ActiveMQComponentExceptionpublic org.apache.activemq.artemis.core.protocol.core.Channel getChannel()
public void setChannel(org.apache.activemq.artemis.core.protocol.core.Channel channel)
public void setBackupQuorum(SharedNothingBackupQuorum backupQuorum)
backupQuorum - public void setExecutor(Executor executor2)
executor2 - Copyright © 2023 The Apache Software Foundation. All rights reserved.