Interface QualifiedLogEventReceiver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void error​(org.jadice.util.log.qualified.MessageID messageId, Object... args)
      Emit a non-fatal error to be ultimately propagated to JobListener.
      void error​(org.jadice.util.log.qualified.MessageID messageId, Throwable cause, Object... args)
      Emit a non-fatal error to be ultimately propagated to JobListener.
      void error​(org.jadice.util.log.qualified.QualifiedLogEvent event)
      Emit a non-fatal error to be ultimately propagated to JobListener.
      void fail​(org.jadice.util.log.qualified.MessageID messageId, Object... args)
      Make the worker (and subsequently the node) fail due to the specified reason.
      void fail​(org.jadice.util.log.qualified.MessageID messageId, Throwable cause, Object... args)
      Make the worker (and subsequently the node) fail due to the specified reason.
      void fail​(org.jadice.util.log.qualified.QualifiedLogEvent event)
      Make the worker (and subsequently the node) fail due to the specified reason.
      void warn​(org.jadice.util.log.qualified.MessageID messageId, Object... args)
      Emit a warning to be ultimately propagated to JobListener.
      void warn​(org.jadice.util.log.qualified.MessageID messageId, Throwable cause, Object... args)
      Emit a warning to be ultimately propagated to JobListener.
      void warn​(org.jadice.util.log.qualified.QualifiedLogEvent event)
      Emit a warning to be ultimately propagated to JobListener.
    • Method Detail

      • warn

        void warn​(org.jadice.util.log.qualified.QualifiedLogEvent event)
        Emit a warning to be ultimately propagated to JobListener.
        Parameters:
        event - the reason of the warning
      • warn

        void warn​(org.jadice.util.log.qualified.MessageID messageId,
                  Throwable cause,
                  Object... args)
        Emit a warning to be ultimately propagated to JobListener.
        Parameters:
        messageId - The messageID of the reason
        cause - a Throwable that caused the warning
        args - optional arguments that will be resolved in an QualifiedLogEvent
      • warn

        void warn​(org.jadice.util.log.qualified.MessageID messageId,
                  Object... args)
        Emit a warning to be ultimately propagated to JobListener.
        Parameters:
        messageId - The messageID of the reason
        args - optional arguments that will be resolved in an QualifiedLogEvent
      • error

        void error​(org.jadice.util.log.qualified.QualifiedLogEvent event)
        Emit a non-fatal error to be ultimately propagated to JobListener.
        Parameters:
        event - the reason of the error
      • error

        void error​(org.jadice.util.log.qualified.MessageID messageId,
                   Throwable cause,
                   Object... args)
        Emit a non-fatal error to be ultimately propagated to JobListener.
        Parameters:
        messageId - The messageID of the reason
        cause - a Throwable that caused the error
        args - optional arguments that will be resolved in an QualifiedLogEvent
      • error

        void error​(org.jadice.util.log.qualified.MessageID messageId,
                   Object... args)
        Emit a non-fatal error to be ultimately propagated to JobListener.
        Parameters:
        messageId - The messageID of the reason
        args - optional arguments that will be resolved in an QualifiedLogEvent
      • fail

        void fail​(org.jadice.util.log.qualified.QualifiedLogEvent event)
        Make the worker (and subsequently the node) fail due to the specified reason. This method will always throw a special kind of RuntimeException used to bubble-up the failure information.
        Parameters:
        event - the reason of the failure
      • fail

        void fail​(org.jadice.util.log.qualified.MessageID messageId,
                  Throwable cause,
                  Object... args)
        Make the worker (and subsequently the node) fail due to the specified reason. This method will always throw a special kind of RuntimeException used to bubble-up the failure information.
        Parameters:
        messageId - The messageID of the reason
        cause - a Throwable that caused the failure
        args - optional arguments that will be resolved in an QualifiedLogEvent
      • fail

        void fail​(org.jadice.util.log.qualified.MessageID messageId,
                  Object... args)
        Make the worker (and subsequently the node) fail due to the specified reason. This method will always throw a special kind of RuntimeException used to bubble-up the failure information.
        Parameters:
        messageId - The messageID of the reason
        args - optional arguments that will be resolved in an QualifiedLogEvent