|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ScopedExclusionService.ExclusiveFunction | |
---|---|
com.atlassian.bamboo.core |
Uses of ScopedExclusionService.ExclusiveFunction in com.atlassian.bamboo.core |
---|
Methods in com.atlassian.bamboo.core that return ScopedExclusionService.ExclusiveFunction | ||
---|---|---|
static
|
ScopedExclusionServiceHelper.adapt(java.util.concurrent.Callable<S> callable)
Adapts the supplied parameter to $ ScopedExclusionService.ExclusiveFunction |
|
static
|
ScopedExclusionServiceHelper.adapt(com.google.common.base.Function<S,V> function)
Adapts the supplied parameter to $ ScopedExclusionService.ExclusiveFunction |
|
static
|
ScopedExclusionServiceHelper.adapt(java.lang.Runnable runnable)
Adapts the supplied parameter to $ ScopedExclusionService.ExclusiveFunction |
|
static
|
ScopedExclusionServiceHelper.adapt(com.google.common.base.Supplier<V> supplier)
Adapts the supplied parameter to $ ScopedExclusionService.ExclusiveFunction |
|
static
|
ScopedExclusionServiceHelper.adapt(com.atlassian.util.concurrent.Supplier<V> supplier)
Adapts the supplied parameter to $ ScopedExclusionService.ExclusiveFunction |
|
static
|
ScopedExclusionServiceHelper.clearSession(ScopedExclusionService.ExclusiveFunction<S,V,java.lang.RuntimeException> function)
Delegates a call to the supplied function, first flushing and clearing the Hibernate session. |
Methods in com.atlassian.bamboo.core with parameters of type ScopedExclusionService.ExclusiveFunction | ||
---|---|---|
static
|
ScopedExclusionServiceHelper.clearSession(ScopedExclusionService.ExclusiveFunction<S,V,java.lang.RuntimeException> function)
Delegates a call to the supplied function, first flushing and clearing the Hibernate session. |
|
|
ScopedExclusionService.withLock(java.lang.Enum<?> scopeType,
S objectToLock,
ScopedExclusionService.ExclusiveFunction<S,V,E> function)
Executes function with lock taken in a given scope and object name. |
|
|
ScopedExclusionServiceImpl.withLock(java.lang.Enum<?> scopeType,
S objectToLock,
ScopedExclusionService.ExclusiveFunction<S,V,E> function)
|
|
static
|
ScopedExclusionServiceHelper.withLockedJob(ScopedExclusionService exclusionService,
PlanKey planKey,
ScopedExclusionService.ExclusiveFunction<PlanKey,V,E> functor)
Executes the function while holding an exclusive lock on planKey interpreted as job key. |
|
|
ScopedExclusionService.withNewLockedObject(java.lang.Enum<?> generationScope,
S objectToLockDuringGeneration,
java.lang.Enum<?> generatedObjectScope,
ScopedExclusionService.GeneratorCallable<S,F> objectGenerator,
ScopedExclusionService.ExclusiveFunction<S,V,E> function)
Executes code with a new, unique name generated within given exclusion scope and locked for exclusive use. |
|
|
ScopedExclusionServiceImpl.withNewLockedObject(java.lang.Enum<?> generationScopeType,
S objectToLockDuringGeneration,
java.lang.Enum<?> generatedObjectScope,
ScopedExclusionService.GeneratorCallable<S,F> objectGenerator,
ScopedExclusionService.ExclusiveFunction<S,V,E> function)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |