dk.netarkivet.harvester.scheduler
Class HarvestChannelRegistry

java.lang.Object
  extended by dk.netarkivet.harvester.scheduler.HarvestChannelRegistry

public class HarvestChannelRegistry
extends java.lang.Object

Keeps track of the number of HarvesterRegistrationRequests that have been received per channel, which allows to know if a HarvestControllers are registered to a given HarvestChannel.


Constructor Summary
HarvestChannelRegistry()
           
 
Method Summary
 boolean isRegistered(java.lang.String channelName)
           
 void register(java.lang.String channelName, java.lang.String harvesterInstanceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HarvestChannelRegistry

public HarvestChannelRegistry()
Method Detail

register

public void register(java.lang.String channelName,
                     java.lang.String harvesterInstanceId)

isRegistered

public boolean isRegistered(java.lang.String channelName)