Class BridgePoolAssignmentsProcessor

  • All Implemented Interfaces:
    java.lang.Runnable, java.util.concurrent.Callable<java.lang.Object>, java.util.Observer

    public class BridgePoolAssignmentsProcessor
    extends CollecTorMain
    • Constructor Detail

      • BridgePoolAssignmentsProcessor

        public BridgePoolAssignmentsProcessor​(Configuration config)
        Initialize this class with the given configuration.
    • Method Detail

      • module

        public java.lang.String module()
        Return the module identifier.
        Specified by:
        module in class CollecTorMain
        Returns:
        Module identifier.
      • syncMarker

        protected java.lang.String syncMarker()
        Return the synchronization marker.
        Specified by:
        syncMarker in class CollecTorMain
        Returns:
        Synchronization marker.
      • startProcessing

        protected void startProcessing()
                                throws ConfigurationException
        Start processing files, which includes reading original, not-yet-sanitized bridge pool assignment files from disk, splitting them into bridge pool assignment descriptors, sanitizing contained fingerprints, and writing sanitized bridge pool assignments to disk.
        Specified by:
        startProcessing in class CollecTorMain
        Throws:
        ConfigurationException - Thrown if configuration values cannot be obtained.
      • cleanUpRsyncDirectory

        public void cleanUpRsyncDirectory()
        Delete all files from the rsync directory that have not been modified in the last three days.