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 © 2002-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.