Package | Description |
---|---|
dk.netarkivet.harvester.datamodel | |
dk.netarkivet.harvester.distribute | |
dk.netarkivet.harvester.scheduler |
Modifier and Type | Method and Description |
---|---|
HarvestChannel |
HarvestChannelDBDAO.getById(long id) |
abstract HarvestChannel |
HarvestChannelDAO.getById(long id)
Retrieves a
HarvestChannel by its UID. |
HarvestChannel |
HarvestChannelDBDAO.getByName(String name) |
abstract HarvestChannel |
HarvestChannelDAO.getByName(String name)
Retrieves a
HarvestChannel by its unique name. |
HarvestChannel |
HarvestChannelDBDAO.getChannelForHarvestDefinition(long harvestDefinitionId) |
abstract HarvestChannel |
HarvestChannelDAO.getChannelForHarvestDefinition(long harvestDefinitionId)
Returns the
HarvestChannel mapped to the given HarvestDefinition id. |
HarvestChannel |
HarvestChannelDBDAO.getDefaultChannel(boolean isSnapshot) |
abstract HarvestChannel |
HarvestChannelDAO.getDefaultChannel(boolean snapshot)
Returns the default
HarvestChannel for the given type of harvest. |
Modifier and Type | Method and Description |
---|---|
Iterator<HarvestChannel> |
HarvestChannelDBDAO.getAll(boolean includeSnapshot) |
abstract Iterator<HarvestChannel> |
HarvestChannelDAO.getAll(boolean includeSnapshot)
Returns harvest channels by type, sorted first by type (focused first, then broad) and then by name.
|
Iterator<HarvestChannel> |
HarvestChannelDBDAO.iterator() |
abstract Iterator<HarvestChannel> |
HarvestChannelDAO.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
HarvestChannelDBDAO.create(HarvestChannel harvestChan) |
abstract void |
HarvestChannelDAO.create(HarvestChannel harvestChannel)
Creates a
HarvestChannel object in the storage backend. |
Iterator<Long> |
JobDBDAO.getAllJobIds(JobStatus status,
HarvestChannel channel) |
abstract Iterator<Long> |
JobDAO.getAllJobIds(JobStatus status,
HarvestChannel channel)
Return a list of all job_id's representing jobs with the given status and channel.
|
void |
HarvestDefinitionDBDAO.mapToHarvestChannel(long harvestDefinitionId,
HarvestChannel channel) |
abstract void |
HarvestDefinitionDAO.mapToHarvestChannel(long harvestDefinitionId,
HarvestChannel channel)
Maps a harvest definition to a harvest channel.
|
void |
Job.setHarvestChannel(HarvestChannel harvestChannel) |
void |
HarvestChannelDBDAO.update(HarvestChannel harvestChan) |
abstract void |
HarvestChannelDAO.update(HarvestChannel harvestChannel)
Updates a
HarvestChannel object in the storage backend. |
Constructor and Description |
---|
Job(Long harvestID,
DomainConfiguration cfg,
HeritrixTemplate orderXMLdoc,
HarvestChannel channel,
long forceMaxObjectsPerDomain,
long forceMaxBytesPerDomain,
long forceMaxJobRunningTime,
int harvestNum)
Package private constructor for common initialisation.
|
Modifier and Type | Method and Description |
---|---|
static ChannelID |
HarvesterChannels.getHarvestJobChannelId(HarvestChannel harvestChannel)
Returns the queue which is used by the scheduler to send doOneCrawl to Harvest Controllers listening on the given
harvest channel.
|
Modifier and Type | Method and Description |
---|---|
void |
JobDispatcher.doOneCrawl(Job job,
String origHarvestName,
String origHarvestDesc,
String origHarvestSchedule,
HarvestChannel channel,
String origHarvestAudience,
List<MetadataEntry> metadata)
Submit an doOneCrawl request to a HarvestControllerServer.
|
protected void |
JobDispatcher.submitNextNewJob(HarvestChannel channel)
Submit the next new job (the one with the lowest ID) with the given priority, and updates the internal counter as
needed.
|
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.