Uses of Interface
com.atlassian.bamboo.core.ScopedExclusionService.ExclusiveFunction

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
<S> ScopedExclusionService.ExclusiveFunction<S,java.lang.Void,java.lang.Exception>
ScopedExclusionServiceHelper.adapt(java.util.concurrent.Callable<S> callable)
          Adapts the supplied parameter to $ScopedExclusionService.ExclusiveFunction
static
<S,V> ScopedExclusionService.ExclusiveFunction<S,V,java.lang.RuntimeException>
ScopedExclusionServiceHelper.adapt(com.google.common.base.Function<S,V> function)
          Adapts the supplied parameter to $ScopedExclusionService.ExclusiveFunction
static
<S> ScopedExclusionService.ExclusiveFunction<S,java.lang.Void,java.lang.RuntimeException>
ScopedExclusionServiceHelper.adapt(java.lang.Runnable runnable)
          Adapts the supplied parameter to $ScopedExclusionService.ExclusiveFunction
static
<S,V> ScopedExclusionService.ExclusiveFunction<S,V,java.lang.RuntimeException>
ScopedExclusionServiceHelper.adapt(com.google.common.base.Supplier<V> supplier)
          Adapts the supplied parameter to $ScopedExclusionService.ExclusiveFunction
static
<S,V> ScopedExclusionService.ExclusiveFunction<S,V,java.lang.RuntimeException>
ScopedExclusionServiceHelper.adapt(com.atlassian.util.concurrent.Supplier<V> supplier)
          Adapts the supplied parameter to $ScopedExclusionService.ExclusiveFunction
static
<S,V> ScopedExclusionService.ExclusiveFunction<S,V,java.lang.RuntimeException>
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
<S,V> ScopedExclusionService.ExclusiveFunction<S,V,java.lang.RuntimeException>
ScopedExclusionServiceHelper.clearSession(ScopedExclusionService.ExclusiveFunction<S,V,java.lang.RuntimeException> function)
          Delegates a call to the supplied function, first flushing and clearing the Hibernate session.
<S,V,E extends java.lang.Throwable>
V
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.
<S,V,E extends java.lang.Throwable>
V
ScopedExclusionServiceImpl.withLock(java.lang.Enum<?> scopeType, S objectToLock, ScopedExclusionService.ExclusiveFunction<S,V,E> function)
           
static
<V,E extends java.lang.Throwable>
V
ScopedExclusionServiceHelper.withLockedChain(ScopedExclusionService exclusionService, PlanKey planKey, ScopedExclusionService.ExclusiveFunction<PlanKey,V,E> functor)
          Executes the function while holding an exclusive lock on planKey interpreted as chain key.
static
<V,E extends java.lang.Throwable>
V
ScopedExclusionServiceHelper.withLockedIdIdentifiedEntity(ScopedExclusionService exclusionService, long id, ScopedExclusionService.ExclusiveFunction<java.lang.Long,V,E> functor)
           
static
<V,E extends java.lang.Throwable>
V
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.
static
<V,E extends java.lang.Throwable>
V
ScopedExclusionServiceHelper.withLockedKeyIdentifiedEntity(ScopedExclusionService exclusionService, Key key, ScopedExclusionService.ExclusiveFunction<Key,V,E> functor)
           
<S,V,E extends java.lang.Throwable,F extends java.lang.Throwable>
V
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.
<S,V,E extends java.lang.Throwable,F extends java.lang.Throwable>
V
ScopedExclusionServiceImpl.withNewLockedObject(java.lang.Enum<?> generationScopeType, S objectToLockDuringGeneration, java.lang.Enum<?> generatedObjectScope, ScopedExclusionService.GeneratorCallable<S,F> objectGenerator, ScopedExclusionService.ExclusiveFunction<S,V,E> function)
           
 



Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.