Package org.torproject.metrics.collector.sync

This package coordinates syncing and merging the fetched data.

The central class for this process is SyncManager, which coordinates download from other instances and merging the new data to the local directories.

Storing data to the file system is facilitated by SyncPersistence.

  • Interface Summary 
    Interface Description
    Criterium<T>
    Interface for decisions to be made in the sync-process.
  • Class Summary 
    Class Description
    ProcessCriterium
    Should a descriptor file be processed during sync.
    SyncManager  
    SyncPersistence
    Provides persistence for descriptors based on the descriptor type.