Interface ConsumerStatus

  • All Known Implementing Classes:
    LogConsumerStatus

    public interface ConsumerStatus
    Generic log message consumer status. Log filter checks consumer status by this method. This mechanism allow to be independent to concrete logging library. Simple implementation is
       () -> { log.iaDebugEnabled(); } 
     
    Author:
    antons
    • Method Detail

      • isConsumerOn

        boolean isConsumerOn()
        Checks if consumer can process messages.
        Returns:
        true if consumer is ready for processing