public static enum SaQueryInfo.QueryCacheMode extends Enum<SaQueryInfo.QueryCacheMode>
Enum Constant and Description |
---|
GET
The session may read items from the cache, but will not add items,
except to invalidate items when updates occur.
|
IGNORE
The session will never interact with the cache, except to invalidate
cache items when updates occur.
|
NORMAL
The session may read items from the cache, and add items to the cache.
|
PUT
The session will never read items from the cache, but will add items
to the cache as it reads them from the database.
|
REFRESH
The session will never read items from the cache, but will add items
to the cache as it reads them from the database.
|
Modifier and Type | Method and Description |
---|---|
static SaQueryInfo.QueryCacheMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaQueryInfo.QueryCacheMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaQueryInfo.QueryCacheMode NORMAL
public static final SaQueryInfo.QueryCacheMode IGNORE
public static final SaQueryInfo.QueryCacheMode GET
public static final SaQueryInfo.QueryCacheMode PUT
public static final SaQueryInfo.QueryCacheMode REFRESH
public static SaQueryInfo.QueryCacheMode[] values()
for (SaQueryInfo.QueryCacheMode c : SaQueryInfo.QueryCacheMode.values()) System.out.println(c);
public static SaQueryInfo.QueryCacheMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.