org.apache.hadoop.hive.shims
Class HiveEventCounter

java.lang.Object
  extended by org.apache.hadoop.hive.shims.HiveEventCounter
All Implemented Interfaces:
org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler

public class HiveEventCounter
extends Object
implements org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler


Constructor Summary
HiveEventCounter()
           
 
Method Summary
 void activateOptions()
           
 void addFilter(org.apache.log4j.spi.Filter filter)
           
 void clearFilters()
           
 void close()
           
 void doAppend(org.apache.log4j.spi.LoggingEvent event)
           
 org.apache.log4j.spi.ErrorHandler getErrorHandler()
           
 org.apache.log4j.spi.Filter getFilter()
           
 org.apache.log4j.Layout getLayout()
           
 String getName()
           
 boolean requiresLayout()
           
 void setErrorHandler(org.apache.log4j.spi.ErrorHandler handler)
           
 void setLayout(org.apache.log4j.Layout layout)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveEventCounter

public HiveEventCounter()
Method Detail

close

public void close()
Specified by:
close in interface org.apache.log4j.Appender

requiresLayout

public boolean requiresLayout()
Specified by:
requiresLayout in interface org.apache.log4j.Appender

addFilter

public void addFilter(org.apache.log4j.spi.Filter filter)
Specified by:
addFilter in interface org.apache.log4j.Appender

clearFilters

public void clearFilters()
Specified by:
clearFilters in interface org.apache.log4j.Appender

doAppend

public void doAppend(org.apache.log4j.spi.LoggingEvent event)
Specified by:
doAppend in interface org.apache.log4j.Appender

getErrorHandler

public org.apache.log4j.spi.ErrorHandler getErrorHandler()
Specified by:
getErrorHandler in interface org.apache.log4j.Appender

getFilter

public org.apache.log4j.spi.Filter getFilter()
Specified by:
getFilter in interface org.apache.log4j.Appender

getLayout

public org.apache.log4j.Layout getLayout()
Specified by:
getLayout in interface org.apache.log4j.Appender

getName

public String getName()
Specified by:
getName in interface org.apache.log4j.Appender

setErrorHandler

public void setErrorHandler(org.apache.log4j.spi.ErrorHandler handler)
Specified by:
setErrorHandler in interface org.apache.log4j.Appender

setLayout

public void setLayout(org.apache.log4j.Layout layout)
Specified by:
setLayout in interface org.apache.log4j.Appender

setName

public void setName(String name)
Specified by:
setName in interface org.apache.log4j.Appender

activateOptions

public void activateOptions()
Specified by:
activateOptions in interface org.apache.log4j.spi.OptionHandler


Copyright © 2012 The Apache Software Foundation