public class IdMapService extends AbstractServiceWithBackgroundCheck implements ResourceChangeListener
CHANGES, PATHS| Constructor and Description |
|---|
IdMapService() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
long |
getMyId() |
boolean |
isInitialized() |
void |
onChange(java.util.List<ResourceChange> changes)
Report resource changes based on the filter properties of this listener.
|
static IdMapService |
testConstructor(DiscoveryLiteConfig commonsConfig,
SlingSettingsService settingsService,
ResourceResolverFactory resourceResolverFactory)
test-only constructor
|
java.lang.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 java.lang.String toSlingId(int clusterNodeId,
ResourceResolver resourceResolver)
throws PersistenceException
PersistenceExceptionpublic void onChange(java.util.List<ResourceChange> changes)
ResourceChangeListeneronChange in interface ResourceChangeListenerchanges - The changes."Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"