public final class ProjectsLockManager
extends java.lang.Object
| Constructor and Description |
|---|
ProjectsLockManager() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
lockProjectsWhile(Supplier<T> supplier)
prevents the set of project files from changing while lock is held
|
static <T,E extends java.lang.Throwable> |
lockProjectsWhile(ThrowingCallable<T,E> callable)
prevents the set of project files from changing while lock is held
|
public static <T> T lockProjectsWhile(Supplier<T> supplier)
public static <T,E extends java.lang.Throwable> T lockProjectsWhile(ThrowingCallable<T,E> callable) throws E extends java.lang.Throwable
E extends java.lang.Throwable