nl.knowledgeplaza.util.log4j
Class SMTPAppender.EvaluatorClass

java.lang.Object
  extended by nl.knowledgeplaza.util.log4j.SMTPAppender.EvaluatorClass
All Implemented Interfaces:
org.apache.log4j.spi.TriggeringEventEvaluator
Enclosing class:
SMTPAppender

public static class SMTPAppender.EvaluatorClass
extends java.lang.Object
implements org.apache.log4j.spi.TriggeringEventEvaluator

This class holds off on sending the mails until the buffer is full


Constructor Summary
SMTPAppender.EvaluatorClass()
           
 
Method Summary
 int getCnt()
          Get counter
 boolean isTriggeringEvent(org.apache.log4j.spi.LoggingEvent arg0)
          To email or not
 void setSMTPAppender(SMTPAppender value)
          link the SMTPAppender to the EvaluatorClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMTPAppender.EvaluatorClass

public SMTPAppender.EvaluatorClass()
Method Detail

setSMTPAppender

public void setSMTPAppender(SMTPAppender value)
link the SMTPAppender to the EvaluatorClass


isTriggeringEvent

public boolean isTriggeringEvent(org.apache.log4j.spi.LoggingEvent arg0)
To email or not

Specified by:
isTriggeringEvent in interface org.apache.log4j.spi.TriggeringEventEvaluator

getCnt

public int getCnt()
Get counter



Copyright © 2010. All Rights Reserved.