|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TempBufferHolder.Type> com.healthmarketscience.jackcess.TempBufferHolder.Type
public static enum TempBufferHolder.Type
The caching type for the buffer holder.
Enum Constant Summary | |
---|---|
HARD
a hard reference is maintained to the created buffer |
|
NONE
no reference is maintained to a created buffer (new buffer every time) |
|
SOFT
a soft reference is maintained to the created buffer (may be garbage collected if memory gets tight) |
Method Summary | |
---|---|
static TempBufferHolder.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TempBufferHolder.Type[] |
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 TempBufferHolder.Type HARD
public static final TempBufferHolder.Type SOFT
public static final TempBufferHolder.Type NONE
Method Detail |
---|
public static TempBufferHolder.Type[] values()
for (TempBufferHolder.Type c : TempBufferHolder.Type.values()) System.out.println(c);
public static TempBufferHolder.Type 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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |