public class ProtectiveMode extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AMBIGUOUS_QUERY_ROUTING_USAGE |
static String |
PRIMITIVE_WITHOUT_NULL_VALUE |
static String |
PROTECTIVE_MODE
System property key to enable/disable protective mode entirely, defaults to true,
|
static String |
QUERY_WITHOUT_INDEX |
static String |
TYPE_WITHOUT_ID |
static String |
WRONG_ENTRY_ROUTING_USAGE
System property key to enable/disable wrong routing usage when writing/updating an entry in a
co-located space.
|
Constructor and Description |
---|
ProtectiveMode() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isAmbiguousQueryRoutingUsageProtectionEnabled() |
static boolean |
isEnabled() |
static boolean |
isPrimitiveWithoutNullValueProtectionEnabled() |
static boolean |
isQueryWithoutIndexProtectionEnabled() |
static boolean |
isTypeWithoutIdProtectionEnabled() |
static boolean |
isWrongRoutingUsageProtectionEnabled() |
static boolean |
shouldIgnoreTypeWithoutIdProtectiveMode(String typeName) |
static boolean |
shouldIgnoreWrongRoutingProtectiveMode(String typeName) |
public static final String PROTECTIVE_MODE
public static final String WRONG_ENTRY_ROUTING_USAGE
public static final String AMBIGUOUS_QUERY_ROUTING_USAGE
public static final String TYPE_WITHOUT_ID
public static final String PRIMITIVE_WITHOUT_NULL_VALUE
public static final String QUERY_WITHOUT_INDEX
public static boolean isEnabled()
public static boolean isWrongRoutingUsageProtectionEnabled()
public static boolean shouldIgnoreWrongRoutingProtectiveMode(String typeName)
public static boolean isAmbiguousQueryRoutingUsageProtectionEnabled()
public static boolean isTypeWithoutIdProtectionEnabled()
public static boolean shouldIgnoreTypeWithoutIdProtectiveMode(String typeName)
public static boolean isPrimitiveWithoutNullValueProtectionEnabled()
public static boolean isQueryWithoutIndexProtectionEnabled()
Copyright © GigaSpaces.