|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ILnkRootEndpoint.ThreadingModel>
com.neeve.link.ILnkRootEndpoint.ThreadingModel
public static enum ILnkRootEndpoint.ThreadingModel
Endpoint threading models.
Enum Constant Summary | |
---|---|
mtrmtw
Indicates the the link tree's read machinery and the writes through the endpoint are driven by a set of concurrently executing threads. |
|
mtrstw
Indicates the the link tree's read machinery is driven by a set of concurrently executing threads and a single thread is used to write through the endpoint. |
|
strmtw
Indicates the the link tree's read machinery is driven by a single thread but the writes are driven by multiple concurrently executing threads. |
|
strstw
Indicates the the link tree's read machinery is driven by a single thread and a single thread is used to write through the endpoint with these threads potentially being different. |
|
strw
Inidicates the link tree is operated entirely (read and write) using a single thread. |
Field Summary | |
---|---|
int |
val
Numeric value assigned to the threading model to compare strictness. |
Method Summary | |
---|---|
static int |
compareTo(ILnkRootEndpoint.ThreadingModel tm1,
ILnkRootEndpoint.ThreadingModel tm2)
Compare two threading models. |
static ILnkRootEndpoint.ThreadingModel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ILnkRootEndpoint.ThreadingModel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ILnkRootEndpoint.ThreadingModel strw
public static final ILnkRootEndpoint.ThreadingModel strstw
public static final ILnkRootEndpoint.ThreadingModel strmtw
public static final ILnkRootEndpoint.ThreadingModel mtrstw
public static final ILnkRootEndpoint.ThreadingModel mtrmtw
Field Detail |
---|
public final int val
Method Detail |
---|
public static ILnkRootEndpoint.ThreadingModel[] values()
for (ILnkRootEndpoint.ThreadingModel c : ILnkRootEndpoint.ThreadingModel.values()) System.out.println(c);
public static ILnkRootEndpoint.ThreadingModel valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static final int compareTo(ILnkRootEndpoint.ThreadingModel tm1, ILnkRootEndpoint.ThreadingModel tm2)
tm1
- The first threading modeltm2
- The second threading model
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |