Class Router


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

      • removeMessageAFDestination

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

        public void removeFailureRecoveryAFDestination​(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 Set<String> getFailureRecoveryComponents()
      • shutdown

        public void shutdown()