| Package | Description |
|---|---|
| com.atlassian.bamboo.core |
| Modifier and Type | Method and Description |
|---|---|
<S,V,E extends Throwable> |
ScopedExclusionService.withLock(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 Throwable,F extends Throwable> |
ScopedExclusionService.withNewLockedObject(Enum<?> generationScope,
S objectToLockDuringGeneration,
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.
|
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.