public class CacheUsageIndirectionPolicy
extends java.lang.Object
query.setHint(QueryHints.INDIRECTION_POLICY, CacheUsageIndirectionPolicy.Trigger);
or
@QueryHint(name=QueryHints.INDIRECTION_POLICY, value=CacheUsageIndirectionPolicy.Trigger)
Hint values are case-insensitive. "" could be used instead of default value CacheUsageIndirectionPolicy.Exception.
QueryHints.INDIRECTION_POLICY
,
ObjectLevelReadQuery.setInMemoryQueryIndirectionPolicyState(int)
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
Conform
If conforming encounters an uninstantiated indirection/lazy object it is assumed to conform.
|
static java.lang.String |
DEFAULT
The default type is Exception.
|
static java.lang.String |
Exception
If conforming encounters an uninstantiated indirection/lazy object an exception is thrown.
|
static java.lang.String |
NotConform
If conforming encounters an uninstantiated indirection/lazy object it is assumed to not conform.
|
static java.lang.String |
Trigger
If conforming encounters an uninstantiated indirection/lazy object it is triggered.
|
Constructor and Description |
---|
CacheUsageIndirectionPolicy() |
public static final java.lang.String Exception
public static final java.lang.String Trigger
public static final java.lang.String Conform
public static final java.lang.String NotConform
public static final java.lang.String DEFAULT