Enum Constant and Description |
---|
add
Store a value in the cache iff there is not already something stored for
the given key.
|
replace
Store a value in the cache iff there is already something stored for the
given key.
|
set
Unconditionally store a value in the cache.
|
Modifier and Type | Method and Description |
---|---|
static StoreType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoreType set
public static final StoreType add
public static final StoreType replace
public static StoreType[] values()
for (StoreType c : StoreType.values()) System.out.println(c);
public static StoreType 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 nullCopyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.