public static enum AdapterManager.ConcurrencyChecking extends Enum<AdapterManager.ConcurrencyChecking>
| Modifier and Type | Method and Description |
|---|---|
static AdapterManager.ConcurrencyChecking |
concurrencyCheckingFor(org.apache.isis.applib.annotation.ActionSemantics.Of actionSemantics) |
static <T> T |
executeWithConcurrencyCheckingDisabled(Callable<T> callable)
Allows a caller to temporarily disable concurrency checking for the current thread.
|
static void |
executeWithConcurrencyCheckingDisabled(Runnable runnable)
Allows a caller to temporarily disable concurrency checking for the current thread.
|
boolean |
isChecking() |
static boolean |
isCurrentlyEnabled()
Whether concurrency checking is currently disabled.
|
static AdapterManager.ConcurrencyChecking |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdapterManager.ConcurrencyChecking[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdapterManager.ConcurrencyChecking NO_CHECK
public static final AdapterManager.ConcurrencyChecking CHECK
public static AdapterManager.ConcurrencyChecking[] values()
for (AdapterManager.ConcurrencyChecking c : AdapterManager.ConcurrencyChecking.values()) System.out.println(c);
public static AdapterManager.ConcurrencyChecking valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic boolean isChecking()
public static AdapterManager.ConcurrencyChecking concurrencyCheckingFor(org.apache.isis.applib.annotation.ActionSemantics.Of actionSemantics)
public static boolean isCurrentlyEnabled()
public static <T> T executeWithConcurrencyCheckingDisabled(Callable<T> callable)
public static void executeWithConcurrencyCheckingDisabled(Runnable runnable)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.