Package ubic.gemma.core.job.progress
Class ProgressUpdateAppender
- java.lang.Object
-
- org.apache.log4j.AppenderSkeleton
-
- ubic.gemma.core.job.progress.ProgressUpdateAppender
-
- All Implemented Interfaces:
org.apache.log4j.Appender,org.apache.log4j.spi.OptionHandler
public class ProgressUpdateAppender extends org.apache.log4j.AppenderSkeletonThis appender is used by remote tasks to send progress notifications to the webapp. The information for these notifications is retrieved from theLoggingEvent. This information comes from regular logging statements inlined in the source code (ie. log.info("the text")).- Author:
- keshav
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProgressUpdateAppender.ProgressUpdateCallbackCallback used to emit progress updates.static classProgressUpdateAppender.ProgressUpdateContextRepresents a context under which progress update logs are intercepted theProgressUpdateAppender.ProgressUpdateCallbackis invoked.
-
Constructor Summary
Constructors Constructor Description ProgressUpdateAppender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappend(org.apache.log4j.spi.LoggingEvent event)voidclose()booleanrequiresLayout()
-