Class CountingFilter

    • Constructor Detail

      • CountingFilter

        public CountingFilter()
    • Method Detail

      • decide

        public FilterReply decide​(java.lang.Object event)
        Description copied from class: Filter
        If the decision is FilterReply.DENY, then the event will be dropped. If the decision is FilterReply.NEUTRAL, then the next filter, if any, will be invoked. If the decision is FilterReply.ACCEPT then the event will be logged without consulting with other filters in the chain.
        Specified by:
        decide in class Filter
        Parameters:
        event - The event to decide upon.
      • getTotal

        public long getTotal()
      • getDomain

        public java.lang.String getDomain()
      • setDomain

        public void setDomain​(java.lang.String domain)