public final class ReplicationEndpoint extends Object implements ChannelHandler, ActiveMQComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
ReplicationEndpoint.JournalSyncFile |
| Constructor and Description |
|---|
ReplicationEndpoint(ActiveMQServerImpl server,
IOCriticalErrorListener criticalErrorListener,
boolean wantedFailBack,
SharedNothingBackupActivation activation) |
| Modifier and Type | Method and Description |
|---|---|
Channel |
getChannel() |
void |
handlePacket(Packet packet)
called by the channel when a packet is received..
|
boolean |
isStarted() |
void |
registerJournal(byte id,
Journal journal) |
void |
setBackupQuorum(SharedNothingBackupQuorum backupQuorum)
Sets the quorumManager used by the server in the replicationEndpoint.
|
void |
setChannel(Channel channel) |
void |
setExecutor(Executor executor2) |
void |
start() |
void |
stop() |
public ReplicationEndpoint(ActiveMQServerImpl server, IOCriticalErrorListener criticalErrorListener, boolean wantedFailBack, SharedNothingBackupActivation activation)
public void registerJournal(byte id,
Journal journal)
public void handlePacket(Packet packet)
ChannelHandlerhandlePacket in interface ChannelHandlerpacket - the packet receivedpublic boolean isStarted()
isStarted in interface ActiveMQComponentpublic void start()
throws Exception
start in interface ActiveMQComponentExceptionpublic void stop()
throws Exception
stop in interface ActiveMQComponentExceptionpublic Channel getChannel()
public void setChannel(Channel channel)
public void setBackupQuorum(SharedNothingBackupQuorum backupQuorum)
backupQuorum - public void setExecutor(Executor executor2)
executor2 - Copyright © 2018 JBoss by Red Hat. All rights reserved.