public class OakViewChecker extends BaseViewChecker
Remote heartbeats are POSTs to remote TopologyConnectorServlets using discovery.base
| Constructor and Description |
|---|
OakViewChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(OakDiscoveryService discoveryService)
The initialize method is called by the OakDiscoveryService.activate
as we require the discoveryService (and the discoveryService has
a reference on us - but we cant have circular references in osgi).
|
boolean |
resetLeaderElectionId()
Hook that will cause a reset of the leaderElectionId
on next invocation of issueClusterLocalHeartbeat.
|
void |
startupFinished(org.apache.sling.launchpad.api.StartupMode mode) |
static OakViewChecker |
testConstructor(SlingSettingsService slingSettingsService,
ResourceResolverFactory resourceResolverFactory,
ConnectorRegistry connectorRegistry,
AnnouncementRegistry announcementRegistry,
Scheduler scheduler,
Config config)
for testing only
|
checkView, heartbeatAndCheckView, inform, run, startupProgress, triggerAsyncConnectorPingpublic static OakViewChecker testConstructor(SlingSettingsService slingSettingsService, ResourceResolverFactory resourceResolverFactory, ConnectorRegistry connectorRegistry, AnnouncementRegistry announcementRegistry, Scheduler scheduler, Config config)
public void startupFinished(org.apache.sling.launchpad.api.StartupMode mode)
startupFinished in interface org.apache.sling.launchpad.api.StartupListenerstartupFinished in class BaseViewCheckerpublic void initialize(OakDiscoveryService discoveryService)
public boolean resetLeaderElectionId()
"Copyright © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"