|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StreamMode>
com.alachisoft.ncache.web.caching.StreamMode
public enum StreamMode
Represents the modes for opening a cache stream.
Enum Constant Summary | |
---|---|
Read
Stream read mode without acquiring reader lock. |
|
ReadWithoutLock
Stream read mode by acquiring reader lock. |
|
Write
Stream mode for writing/updating the stream. |
Method Summary | |
---|---|
static StreamMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StreamMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're 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 StreamMode Read
public static final StreamMode ReadWithoutLock
public static final StreamMode Write
Method Detail |
---|
public static StreamMode 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 namepublic static final StreamMode[] values()
for(StreamMode c : StreamMode.values()) System.out.println(c);
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |