Class Synchronizer
Defined in: Synchronizer.jsm.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
This object is responsible for downloading filter subscriptions whenever
necessary.
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
Synchronizer.execute(subscription, manual, forceDownload)
Starts the download of a subscription.
|
| <static> |
Synchronizer.executeInternal(subscription, manual, forceDownload)
|
| <static> |
Synchronizer.isExecuting(url)
Checks whether a subscription is currently being downloaded.
|
| <static> |
Synchronizer.startup()
Called on module startup.
|
Class Detail
Synchronizer()
This object is responsible for downloading filter subscriptions whenever
necessary.
Method Detail
<static>
Synchronizer.execute(subscription, manual, forceDownload)
Starts the download of a subscription.
- Parameters:
- {DownloadableSubscription} subscription
- Subscription to be downloaded
- {Boolean} manual
- true for a manually started download (should not trigger fallback requests)
- {Boolean} forceDownload
- if true, the subscription will even be redownloaded if it didn't change on the server
<static>
Synchronizer.executeInternal(subscription, manual, forceDownload)
- Parameters:
- subscription
- manual
- forceDownload
<static>
{Boolean}
Synchronizer.isExecuting(url)
Checks whether a subscription is currently being downloaded.
- Parameters:
- {String} url
- URL of the subscription
- Returns:
- {Boolean}
<static>
Synchronizer.startup()
Called on module startup.