Class SnowflakeStatsDownloader
- java.lang.Object
-
- org.torproject.metrics.collector.sync.SyncManager
-
- org.torproject.metrics.collector.cron.CollecTorMain
-
- org.torproject.metrics.collector.snowflake.SnowflakeStatsDownloader
-
- All Implemented Interfaces:
java.lang.Runnable,java.util.concurrent.Callable<java.lang.Object>
public class SnowflakeStatsDownloader extends CollecTorMain
-
-
Field Summary
-
Fields inherited from class org.torproject.metrics.collector.cron.CollecTorMain
config, mapPathDescriptors, SOURCES
-
Fields inherited from class org.torproject.metrics.collector.sync.SyncManager
SYNCORIGINS
-
-
Constructor Summary
Constructors Constructor Description SnowflakeStatsDownloader(Configuration config)Instantiate the snowflake-stats module using the given configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringmodule()Returns the module name for logging purposes.protected voidstartProcessing()Module specific code goes here.protected java.lang.StringsyncMarker()Returns property prefix/infix/postfix for Sync related properties.-
Methods inherited from class org.torproject.metrics.collector.cron.CollecTorMain
call, checkAvailableSpace, readProcessedFiles, run, syncMapPathsDescriptors, writeProcessedFiles
-
Methods inherited from class org.torproject.metrics.collector.sync.SyncManager
merge
-
-
-
-
Constructor Detail
-
SnowflakeStatsDownloader
public SnowflakeStatsDownloader(Configuration config)
Instantiate the snowflake-stats module using the given configuration.
-
-
Method Detail
-
module
public java.lang.String module()
Description copied from class:CollecTorMainReturns the module name for logging purposes.- Specified by:
modulein classCollecTorMain
-
syncMarker
protected java.lang.String syncMarker()
Description copied from class:CollecTorMainReturns property prefix/infix/postfix for Sync related properties.- Specified by:
syncMarkerin classCollecTorMain
-
startProcessing
protected void startProcessing() throws ConfigurationExceptionDescription copied from class:CollecTorMainModule specific code goes here.- Specified by:
startProcessingin classCollecTorMain- Throws:
ConfigurationException
-
-