@Service(value="mergedRemoteIndexesScheduler#default") public class DefaultMergedRemoteIndexesScheduler extends Object implements MergedRemoteIndexesScheduler
Constructor and Description |
---|
DefaultMergedRemoteIndexesScheduler() |
Modifier and Type | Method and Description |
---|---|
void |
schedule(RepositoryGroup repositoryGroup,
StorageAsset directory)
will check if this repository group need to a schedule a cron to download/merge
remote indexes
|
void |
unschedule(RepositoryGroup repositoryGroup) |
public DefaultMergedRemoteIndexesScheduler()
public void schedule(RepositoryGroup repositoryGroup, StorageAsset directory)
MergedRemoteIndexesScheduler
schedule
in interface MergedRemoteIndexesScheduler
public void unschedule(RepositoryGroup repositoryGroup)
unschedule
in interface MergedRemoteIndexesScheduler
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.