public class Router extends Object
| Modifier and Type | Field and Description |
|---|---|
AliveAndReadyViewWindow |
aliveAndReadyView |
String |
groupName |
| Constructor and Description |
|---|
Router(String groupName,
int queueSize,
AliveAndReadyViewWindow viewWindow,
int incomingMsgThreadPoolSize,
GMSMonitor gmsMonitor) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getFailureRecoveryComponents() |
boolean |
isFailureNotificationAFRegistered() |
boolean |
isFailureRecoveryAFRegistered() |
boolean |
isFailureSuspectedAFRegistered() |
boolean |
isGroupLeadershipNotificationAFRegistered() |
boolean |
isJoinedAndReadyNotificationAFRegistered() |
boolean |
isJoinNotificationAFRegistered() |
boolean |
isMessageAFRegistered() |
boolean |
isPlannedShutdownAFRegistered() |
void |
queueSignal(SignalPacket signalPacket)
Adds a single signal to the queue.
|
void |
queueSignals(SignalPacket signalPacket)
Queues signals.
|
void |
removeFailureRecoveryAFDestination(String componentName)
removes a FailureRecoveryActionFactory instance belonging to a specified component
|
void |
removeMessageAFDestination(String componentName)
removes a MessageActionFactory instance belonging to a specified component
|
void |
shutdown() |
public final AliveAndReadyViewWindow aliveAndReadyView
public final String groupName
public Router(String groupName, int queueSize, AliveAndReadyViewWindow viewWindow, int incomingMsgThreadPoolSize, GMSMonitor gmsMonitor)
public void removeMessageAFDestination(String componentName)
componentName - the component namepublic void removeFailureRecoveryAFDestination(String componentName)
componentName - the component namepublic void queueSignals(SignalPacket signalPacket)
signalPacket - the signal packetpublic void queueSignal(SignalPacket signalPacket)
signalPacket - the signal packetpublic boolean isFailureNotificationAFRegistered()
public boolean isFailureRecoveryAFRegistered()
public boolean isMessageAFRegistered()
public boolean isPlannedShutdownAFRegistered()
public boolean isJoinNotificationAFRegistered()
public boolean isJoinedAndReadyNotificationAFRegistered()
public boolean isFailureSuspectedAFRegistered()
public boolean isGroupLeadershipNotificationAFRegistered()
public void shutdown()
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.