public static enum ThreadCop.MODE extends java.lang.Enum<ThreadCop.MODE>
Enum Constant and Description |
---|
ACCESS_ONLY_BY_CREATING_THREAD
This object is only accessed by the thread that created it
|
DISABLED
Disabled TEST CASE ONLY
|
EXTERNAL_SYNCHRONIZED
the access to this thread is controlled externally
|
READONLY
readonly access by MANY threads is allowed but to only readonly methods
|
Modifier and Type | Method and Description |
---|---|
static ThreadCop.MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadCop.MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadCop.MODE READONLY
public static final ThreadCop.MODE ACCESS_ONLY_BY_CREATING_THREAD
public static final ThreadCop.MODE EXTERNAL_SYNCHRONIZED
public static final ThreadCop.MODE DISABLED
public static ThreadCop.MODE[] values()
for (ThreadCop.MODE c : ThreadCop.MODE.values()) System.out.println(c);
public static ThreadCop.MODE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.