public class ScopedExclusionServiceHelper extends Object
ScopedExclusionService.public static <V,E extends Throwable> V withLockedKeyIdentifiedEntity(ScopedExclusionService exclusionService, Key key, ScopedExclusionService.ExclusiveFunction<Key,V,E> functor) throws E extends Throwable
E extends Throwablepublic static <V,E extends Throwable> V withLockedIdIdentifiedEntity(ScopedExclusionService exclusionService, long id, ScopedExclusionService.ExclusiveFunction<Long,V,E> functor) throws E extends Throwable
E extends Throwablepublic static <V,E extends Throwable> V withLockedJob(ScopedExclusionService exclusionService, PlanKey planKey, ScopedExclusionService.ExclusiveFunction<PlanKey,V,E> functor) throws E extends Throwable
exclusionService - planKey - functor - E extends Throwablepublic static <V,E extends Throwable> V withLockedChain(ScopedExclusionService exclusionService, PlanKey planKey, ScopedExclusionService.ExclusiveFunction<PlanKey,V,E> functor) throws E extends Throwable
exclusionService - planKey - functor - E extends Throwablepublic static <S,V> ScopedExclusionService.ExclusiveFunction<S,V,RuntimeException> clearSession(ScopedExclusionService.ExclusiveFunction<S,V,RuntimeException> function)
public static <S,V> ScopedExclusionService.ExclusiveFunction<S,V,RuntimeException> adapt(com.google.common.base.Function<S,V> function)
ScopedExclusionService.ExclusiveFunctionpublic static <S,V> ScopedExclusionService.ExclusiveFunction<S,V,RuntimeException> adapt(com.google.common.base.Supplier<V> supplier)
ScopedExclusionService.ExclusiveFunctionpublic static <S,V> ScopedExclusionService.ExclusiveFunction<S,V,RuntimeException> adapt(Supplier<V> supplier)
public static <S> ScopedExclusionService.ExclusiveFunction<S,Void,RuntimeException> adapt(Runnable runnable)
ScopedExclusionService.ExclusiveFunctionpublic static <S> ScopedExclusionService.ExclusiveFunction<S,Void,Exception> adapt(Callable<S> callable)
ScopedExclusionService.ExclusiveFunctionpublic static <S,V,E extends Exception> ScopedExclusionService.ExclusiveFunction<S,V,E> adapt(LimitedConcurrencyCaller.Callable<V,E> callable)
ScopedExclusionService.ExclusiveFunctionCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.