|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.harvester.distribute.HarvesterChannels
public class HarvesterChannels
This singleton class is in charge of giving out the correct channels.
Constructor Summary | |
---|---|
HarvesterChannels()
|
Method Summary | |
---|---|
static ChannelID |
getHarvesterRegistrationRequestChannel()
Return the queue for sending HarvesterRegistrationRequest s. |
static ChannelID |
getHarvesterRegistrationResponseChannel()
Return the queue for sending HarvesterRegistrationResponse s. |
static ChannelID |
getHarvesterStatusChannel()
|
static ChannelID |
getHarvestJobChannelId(HarvestChannel harvestChannel)
Returns the queue which is used by the scheduler to send doOneCrawl to Harvest Controllers listening on the given harvest channel. |
static ChannelID |
getHarvestJobChannelId(java.lang.String harvestChannelName,
boolean isSnapshot)
Returns the queue which is used by the scheduler to send doOneCrawl to Harvest Controllers listening on the given harvest channel. |
static ChannelID |
getHarvestMonitorChannel()
Return the queue for the harvest monitor registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HarvesterChannels()
Method Detail |
---|
public static ChannelID getHarvestMonitorChannel()
ChannelID
object for the queue.public static ChannelID getHarvesterStatusChannel()
ChannelID
object for the topic used by the
harvesters to call in ready for new jobs.public static ChannelID getHarvesterRegistrationRequestChannel()
HarvesterRegistrationRequest
s.
ChannelID
object for the queue.public static ChannelID getHarvesterRegistrationResponseChannel()
HarvesterRegistrationResponse
s.
ChannelID
object for the queue.public static ChannelID getHarvestJobChannelId(HarvestChannel harvestChannel)
public static ChannelID getHarvestJobChannelId(java.lang.String harvestChannelName, boolean isSnapshot)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |