public class HiveEventCounter extends Object implements org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler
Constructor and Description |
---|
HiveEventCounter() |
Modifier and Type | Method and Description |
---|---|
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) |
public void close()
close
in interface org.apache.log4j.Appender
public boolean requiresLayout()
requiresLayout
in interface org.apache.log4j.Appender
public void addFilter(org.apache.log4j.spi.Filter filter)
addFilter
in interface org.apache.log4j.Appender
public void clearFilters()
clearFilters
in interface org.apache.log4j.Appender
public void doAppend(org.apache.log4j.spi.LoggingEvent event)
doAppend
in interface org.apache.log4j.Appender
public org.apache.log4j.spi.ErrorHandler getErrorHandler()
getErrorHandler
in interface org.apache.log4j.Appender
public org.apache.log4j.spi.Filter getFilter()
getFilter
in interface org.apache.log4j.Appender
public org.apache.log4j.Layout getLayout()
getLayout
in interface org.apache.log4j.Appender
public String getName()
getName
in interface org.apache.log4j.Appender
public void setErrorHandler(org.apache.log4j.spi.ErrorHandler handler)
setErrorHandler
in interface org.apache.log4j.Appender
public void setLayout(org.apache.log4j.Layout layout)
setLayout
in interface org.apache.log4j.Appender
public void setName(String name)
setName
in interface org.apache.log4j.Appender
public void activateOptions()
activateOptions
in interface org.apache.log4j.spi.OptionHandler
Copyright © 2017 The Apache Software Foundation. All rights reserved.