Class HarvestChannelRegistry
- java.lang.Object
-
- dk.netarkivet.harvester.scheduler.HarvestChannelRegistry
-
public class HarvestChannelRegistry extends Object
Keeps track of the number ofHarvesterRegistrationRequest
s that have been received per channel, which allows to know if a HarvestControllers are registered to a givenHarvestChannel
.
-
-
Constructor Summary
Constructors Constructor Description HarvestChannelRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRegistered(String channelName)
boolean
isRegisteredToChannel(String harvesterInstanceId, String channelName)
void
register(String channelName, String harvesterInstanceId)
-