com.gigaspaces.client.protective
Class ProtectiveMode
java.lang.Object
com.gigaspaces.client.protective.ProtectiveMode
public class ProtectiveMode
- extends Object
Protective mode setup class, holds the current protective mode setup
- Since:
- 9.1
- Author:
- eitany
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROTECTIVE_MODE
public static final String PROTECTIVE_MODE
- System property key to enable/disable protective mode entirely, defaults to true,
- See Also:
- Constant Field Values
WRONG_ENTRY_ROUTING_USAGE
public static final String WRONG_ENTRY_ROUTING_USAGE
- System property key to enable/disable wrong routing usage when writing/updating an entry in a co-located space.
If an entry is written/updated to/in the co-located space without a routing value or with a routing value which does not match the space,
an exception will be thrown. This is done in order to avoid user error that later on when a remote proxy will try to read this
object he will not locate it because the routing value is wrong.
- See Also:
- Constant Field Values
TYPE_WITHOUT_ID
public static final String TYPE_WITHOUT_ID
- See Also:
- Constant Field Values
PRIMITIVE_WITHOUT_NULL_VALUE
public static final String PRIMITIVE_WITHOUT_NULL_VALUE
- See Also:
- Constant Field Values
ProtectiveMode
public ProtectiveMode()
isEnabled
public static boolean isEnabled()
isWrongRoutingUsageProtectionEnabled
public static boolean isWrongRoutingUsageProtectionEnabled()
shouldIgnoreWrongRoutingProtectiveMode
public static boolean shouldIgnoreWrongRoutingProtectiveMode(String typeName)
isTypeWithoutIdProtectionEnabled
public static boolean isTypeWithoutIdProtectionEnabled()
shouldIgnoreTypeWithoutIdProtectiveMode
public static boolean shouldIgnoreTypeWithoutIdProtectiveMode(String typeName)
isPrimitiveWithoutNullValueProtectionEnabled
public static boolean isPrimitiveWithoutNullValueProtectionEnabled()
Copyright © GigaSpaces.