| java.lang.Object net.sourceforge.groboutils.codecoverage.v2.logger.AbstractSingleSourceLoggerFactory
All known Subclasses: net.sourceforge.groboutils.codecoverage.v2.logger.FileSingleSourceLoggerFactory,
MILLIS_PER_FLUSH_PROP | final public static String MILLIS_PER_FLUSH_PROP(Code) | | |
USE_CACHE_PROP | final public static String USE_CACHE_PROP(Code) | | |
WRITES_PER_FLUSH_PROP | final public static String WRITES_PER_FLUSH_PROP(Code) | | |
addShutdownHook | protected void addShutdownHook()(Code) | | |
cover | public void cover(short channelIndex, String classSig, short methodIndex, short markIndex)(Code) | | Outputs all the data associated with a probe to the shared single source.
This class manages its own buffering for safety.
|
run | public void run()(Code) | | This is the shutdown hook. We flush the buffer to the source,
then we call close() on the writer.
|
setReloadSourceAfterError | protected void setReloadSourceAfterError(boolean yes)(Code) | | Set to true if you want to try to reconnect to the
source everytime the I/O write fails. This can be changed
at any time.
|
setupProps | protected void setupProps(String prefix, Properties props)(Code) | | Extend this method to setup your own properties. Be sure to
call the super's setupProps, though. Be sure to keep the
properties around for how to connect to the source.
|
setupSource | abstract protected Writer setupSource()(Code) | | Setup the source writer. This can return null. Its
actions will be synchronized for you.
|
|
|