Uses of Interface
com.composum.sling.core.concurrent.LazyCreationService.ParentCreationStrategy
-
Packages that use LazyCreationService.ParentCreationStrategy Package Description com.composum.sling.core.concurrent -
-
Uses of LazyCreationService.ParentCreationStrategy in com.composum.sling.core.concurrent
Methods in com.composum.sling.core.concurrent with parameters of type LazyCreationService.ParentCreationStrategy Modifier and Type Method Description <T> T
LazyCreationService. getOrCreate(org.apache.sling.api.resource.ResourceResolver resolver, String path, LazyCreationService.RetrievalStrategy<T> getter, LazyCreationService.CreationStrategy creator, LazyCreationService.InitializationStrategy initializer, LazyCreationService.ParentCreationStrategy parentCreationStrategy)
Retrieves a resource or applies a creation and initialization strategy to be carried out with an admin resolver to create it, for resource intensive initialization processes that should not performed twice in the cluster.<T> T
LazyCreationService. getOrCreate(org.apache.sling.api.resource.ResourceResolver resolver, String path, LazyCreationService.RetrievalStrategy<T> getter, LazyCreationService.CreationStrategy creator, LazyCreationService.ParentCreationStrategy parentCreationStrategy)
Retrieves a resource or applies a creation strategy to be carried out with an admin resolver to create it.<T> T
LazyCreationServiceImpl. getOrCreate(org.apache.sling.api.resource.ResourceResolver resolver, String path, LazyCreationService.RetrievalStrategy<T> getter, LazyCreationService.CreationStrategy creator, LazyCreationService.InitializationStrategy initializer, LazyCreationService.ParentCreationStrategy parentCreationStrategy)
Retrieves a resource or applies a creation and initialization strategy to be carried out with an admin resolver to create it, for resource intensive initialization processes that should not performed twice in the cluster.<T> T
LazyCreationServiceImpl. getOrCreate(org.apache.sling.api.resource.ResourceResolver resolver, String path, LazyCreationService.RetrievalStrategy<T> getter, LazyCreationService.CreationStrategy creator, LazyCreationService.ParentCreationStrategy parentCreationStrategy)
protected org.apache.sling.api.resource.Resource
LazyCreationServiceImpl. safeCreateParent(org.apache.sling.api.resource.ResourceResolver adminResolver, String path, int level, LazyCreationService.ParentCreationStrategy parentCreationStrategy)
Tries to create the parent while catching exceptions that could be triggered by someone having created it in parallel in the meantime.
-