com.atlassian.plugin.manager.store
Enum SynchronizedPluginPersistentStateStore.LockMode
java.lang.Object
java.lang.Enum<SynchronizedPluginPersistentStateStore.LockMode>
com.atlassian.plugin.manager.store.SynchronizedPluginPersistentStateStore.LockMode
- All Implemented Interfaces:
- Serializable, Comparable<SynchronizedPluginPersistentStateStore.LockMode>
- Enclosing class:
- SynchronizedPluginPersistentStateStore
@Internal
public static enum SynchronizedPluginPersistentStateStore.LockMode
- extends Enum<SynchronizedPluginPersistentStateStore.LockMode>
UNLOCKED
public static final SynchronizedPluginPersistentStateStore.LockMode UNLOCKED
SIMPLE
public static final SynchronizedPluginPersistentStateStore.LockMode SIMPLE
FAIRSIMPLE
public static final SynchronizedPluginPersistentStateStore.LockMode FAIRSIMPLE
READWRITE
public static final SynchronizedPluginPersistentStateStore.LockMode READWRITE
FAIRREADWRITE
public static final SynchronizedPluginPersistentStateStore.LockMode FAIRREADWRITE
values
public static SynchronizedPluginPersistentStateStore.LockMode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (SynchronizedPluginPersistentStateStore.LockMode c : SynchronizedPluginPersistentStateStore.LockMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SynchronizedPluginPersistentStateStore.LockMode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2015 Atlassian. All rights reserved.