Class Router


  • public class Router
    extends java.lang.Object
    Routes signals to appropriate destinations
    Version:
    $Revision$
    Author:
    Shreedhar Ganapathy Date: Jan 16, 2004
    • Field Detail

      • groupName

        public final java.lang.String groupName
    • Constructor Detail

    • Method Detail

      • removeMessageAFDestination

        public void removeMessageAFDestination​(java.lang.String componentName)
        removes a MessageActionFactory instance belonging to a specified component
        Parameters:
        componentName - the component name
      • removeFailureRecoveryAFDestination

        public void removeFailureRecoveryAFDestination​(java.lang.String componentName)
        removes a FailureRecoveryActionFactory instance belonging to a specified component
        Parameters:
        componentName - the component name
      • queueSignals

        public void queueSignals​(SignalPacket signalPacket)
        Queues signals. Expects an array of signals which are handed off to working threads that will determine their corresponding actions to call their consumeSignal method.
        Parameters:
        signalPacket - the signal packet
      • queueSignal

        public void queueSignal​(SignalPacket signalPacket)
        Adds a single signal to the queue.
        Parameters:
        signalPacket - the signal packet
      • isFailureNotificationAFRegistered

        public boolean isFailureNotificationAFRegistered()
      • isFailureRecoveryAFRegistered

        public boolean isFailureRecoveryAFRegistered()
      • isMessageAFRegistered

        public boolean isMessageAFRegistered()
      • isPlannedShutdownAFRegistered

        public boolean isPlannedShutdownAFRegistered()
      • isJoinNotificationAFRegistered

        public boolean isJoinNotificationAFRegistered()
      • isJoinedAndReadyNotificationAFRegistered

        public boolean isJoinedAndReadyNotificationAFRegistered()
      • isFailureSuspectedAFRegistered

        public boolean isFailureSuspectedAFRegistered()
      • isGroupLeadershipNotificationAFRegistered

        public boolean isGroupLeadershipNotificationAFRegistered()
      • getFailureRecoveryComponents

        public java.util.Set<java.lang.String> getFailureRecoveryComponents()
      • shutdown

        public void shutdown()