public static enum EnableSchedulerLock.InterceptMode extends Enum<EnableSchedulerLock.InterceptMode>
| Enum Constant and Description |
|---|
PROXY_METHOD
Scheduled method is proxied to ensure locking.
|
PROXY_SCHEDULER
Default mode when a TaskScheduler is wrapped in a proxy to ensure locking.
|
| Modifier and Type | Method and Description |
|---|---|
static EnableSchedulerLock.InterceptMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnableSchedulerLock.InterceptMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnableSchedulerLock.InterceptMode PROXY_SCHEDULER
SchedulerLock annotated method is called using scheduler.public static final EnableSchedulerLock.InterceptMode PROXY_METHOD
SchedulerLock annotated is called (even if it is NOT called using Spring scheduler)public static EnableSchedulerLock.InterceptMode[] values()
for (EnableSchedulerLock.InterceptMode c : EnableSchedulerLock.InterceptMode.values()) System.out.println(c);
public static EnableSchedulerLock.InterceptMode 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 nullCopyright © 2018. All rights reserved.