@Singleton
public class PeriodicalsService
extends com.google.common.util.concurrent.AbstractIdleService
| Constructor and Description |
|---|
PeriodicalsService(Periodicals periodicals,
Set<Periodical> allPeriodicals,
com.google.common.eventbus.EventBus eventBus,
LeaderElectionService leaderElectionService) |
| Modifier and Type | Method and Description |
|---|---|
void |
leaderChanged(LeaderChangedEvent leaderChangedEvent) |
protected void |
shutDown() |
protected void |
startUp() |
@Inject public PeriodicalsService(Periodicals periodicals, Set<Periodical> allPeriodicals, com.google.common.eventbus.EventBus eventBus, LeaderElectionService leaderElectionService)
protected void startUp()
throws Exception
startUp in class com.google.common.util.concurrent.AbstractIdleServiceExceptionpublic void leaderChanged(LeaderChangedEvent leaderChangedEvent)
Copyright © 2012–2022 Graylog, Inc.. All rights reserved.