Package com.gigaspaces.client
Class IsolationLevelModifiers
java.lang.Object
com.gigaspaces.client.SpaceProxyOperationModifiers
com.gigaspaces.client.IsolationLevelModifiers
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Direct Known Subclasses:
CountModifiers,ReadModifiers
Base class for isolation level based space proxy operations modifiers.
NOTE: This class is intended for internal usage only.
- Since:
- 9.5
- Author:
- Dan Kilman
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIsolationLevelModifiers(int code) protectedIsolationLevelModifiers(IsolationLevelModifiers... modifiers) protectedprotectedIsolationLevelModifiers(IsolationLevelModifiers m1, IsolationLevelModifiers m2, IsolationLevelModifiers m3) -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this instance contains the#DIRTY_READsetting.booleanChecks if this instance contains the#READ_COMMITTEDsetting.booleanChecks if this instance contains the#REPEATABLE_READsetting.<T extends IsolationLevelModifiers>
TsetIsolationLevel(IsolationLevelModifiers isolationLevel) Methods inherited from class com.gigaspaces.client.SpaceProxyOperationModifiers
add, contains, create, createIfNeeded, equals, getCache, getCode, hashCode, readExternal, remove, writeExternalMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
IsolationLevelModifiers
public IsolationLevelModifiers() -
IsolationLevelModifiers
protected IsolationLevelModifiers(int code) -
IsolationLevelModifiers
-
IsolationLevelModifiers
protected IsolationLevelModifiers(IsolationLevelModifiers m1, IsolationLevelModifiers m2, IsolationLevelModifiers m3) -
IsolationLevelModifiers
-
-
Method Details
-
setIsolationLevel
public <T extends IsolationLevelModifiers> T setIsolationLevel(IsolationLevelModifiers isolationLevel) -
isRepeatableRead
public boolean isRepeatableRead()Checks if this instance contains the#REPEATABLE_READsetting.- Returns:
- true if this instance contains the
#REPEATABLE_READsetting, false otherwise.
-
isReadCommitted
public boolean isReadCommitted()Checks if this instance contains the#READ_COMMITTEDsetting.- Returns:
- true if this instance contains the
#READ_COMMITTEDsetting, false otherwise.
-
isDirtyRead
public boolean isDirtyRead()Checks if this instance contains the#DIRTY_READsetting.- Returns:
- true if this instance contains the
#DIRTY_READsetting, false otherwise.
-