public class DBReceiver extends Receiver implements Pauseable, UnrecognizedElementHandler
thresholdLevel
active, name
repository
Constructor and Description |
---|
DBReceiver() |
Modifier and Type | Method and Description |
---|---|
void |
activateOptions() |
ConnectionSource |
getConnectionSource() |
int |
getRefreshMillis() |
boolean |
isPaused()
Get paused state.
|
boolean |
parseUnrecognizedElement(org.w3c.dom.Element element,
java.util.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, setThreshold
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getLoggerRepository, getName, isActive, isEquivalent, removePropertyChangeListener, removePropertyChangeListener, setLoggerRepository, setName
getLogger, getNonFloodingLogger, resetErrorCount
public void activateOptions()
activateOptions
in interface OptionHandler
public void setRefreshMillis(int refreshMillis)
public int getRefreshMillis()
public ConnectionSource getConnectionSource()
public void setConnectionSource(ConnectionSource connectionSource)
connectionSource
- The connectionSource to set.public void shutdown()
Plugin
public void setPaused(boolean paused)
Pauseable
public boolean isPaused()
Pauseable
public boolean parseUnrecognizedElement(org.w3c.dom.Element element, java.util.Properties props) throws java.lang.Exception
parseUnrecognizedElement
in interface UnrecognizedElementHandler
java.lang.Exception
Copyright © 2006-2019 OPS4J - Open Participation Software for Java. All Rights Reserved.