public class IdMapService extends AbstractServiceWithBackgroundCheck implements org.osgi.service.event.EventHandler
| Constructor and Description |
|---|
IdMapService() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
long |
getMyId() |
void |
handleEvent(org.osgi.service.event.Event event) |
boolean |
isInitialized() |
static IdMapService |
testConstructor(DiscoveryLiteConfig commonsConfig,
SlingSettingsService settingsService,
ResourceResolverFactory resourceResolverFactory)
test-only constructor
|
String |
toSlingId(int clusterNodeId,
ResourceResolver resourceResolver) |
boolean |
waitForInit(long timeout)
for testing only
|
public static IdMapService testConstructor(DiscoveryLiteConfig commonsConfig, SlingSettingsService settingsService, ResourceResolverFactory resourceResolverFactory)
public long getMyId()
public boolean waitForInit(long timeout)
public boolean isInitialized()
public void clearCache()
public String toSlingId(int clusterNodeId, ResourceResolver resourceResolver) throws PersistenceException
PersistenceExceptionpublic void handleEvent(org.osgi.service.event.Event event)
handleEvent in interface org.osgi.service.event.EventHandler"Copyright © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"