public class DBReceiver extends Receiver implements Pauseable, org.apache.log4j.xml.UnrecognizedElementHandler
thresholdLevelactive, namerepository| Constructor and Description |
|---|
DBReceiver() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateOptions() |
ConnectionSource |
getConnectionSource() |
int |
getRefreshMillis() |
boolean |
isPaused()
Get paused state.
|
boolean |
parseUnrecognizedElement(Element element,
Properties props) |
void |
setConnectionSource(ConnectionSource connectionSource) |
void |
setPaused(boolean paused)
Set paused state.
|
void |
setRefreshMillis(int refreshMillis) |
void |
shutdown()
Call when the plugin should be stopped.
|
doPost, getThreshold, isAsSevereAsThreshold, setThresholdaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getLoggerRepository, getName, isActive, isEquivalent, removePropertyChangeListener, removePropertyChangeListener, setLoggerRepository, setNamegetLogger, getNonFloodingLogger, resetErrorCountpublic void activateOptions()
activateOptions in interface org.apache.log4j.spi.OptionHandlerpublic void setRefreshMillis(int refreshMillis)
public int getRefreshMillis()
public ConnectionSource getConnectionSource()
public void setConnectionSource(ConnectionSource connectionSource)
connectionSource - The connectionSource to set.public void shutdown()
Pluginpublic void setPaused(boolean paused)
Pauseablepublic boolean isPaused()
Pauseablepublic boolean parseUnrecognizedElement(Element element, Properties props) throws Exception
parseUnrecognizedElement in interface org.apache.log4j.xml.UnrecognizedElementHandlerExceptionCopyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.