com.atlassian.plugin.manager.store
Enum SynchronizedPluginPersistentStateStore.LockMode

java.lang.Object
  extended by java.lang.Enum<SynchronizedPluginPersistentStateStore.LockMode>
      extended by 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>


Enum Constant Summary
FAIRREADWRITE
           
FAIRSIMPLE
           
READWRITE
           
SIMPLE
           
UNLOCKED
           
 
Method Summary
static SynchronizedPluginPersistentStateStore.LockMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SynchronizedPluginPersistentStateStore.LockMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.