|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gigaspaces.client.SpaceProxyOperationModifiers com.gigaspaces.client.ChangeModifiers
public class ChangeModifiers
Provides modifiers to customize the behavior of change operations.
Field Summary | |
---|---|
static ChangeModifiers |
MEMORY_ONLY_SEARCH
Search for matching entries in cache memory only (do not use the underlying external data source). |
static ChangeModifiers |
NONE
Empty - use operation default behavior. |
static ChangeModifiers |
ONE_WAY
Operation is executed in one way mode, meaning no return value will be provided. |
static ChangeModifiers |
RETURN_DETAILED_RESULTS
Return details results meaning the ChangeResult.getResults() should contain data, otherwise only the number
of changed entries will be returned as a result which can be accessed via the ChangeResult.getNumberOfChangedEntries() . |
Constructor Summary | |
---|---|
ChangeModifiers()
|
|
ChangeModifiers(ChangeModifiers... modifiers)
Creates a new modifiers from the specified modifiers. |
|
ChangeModifiers(ChangeModifiers modifiers1,
ChangeModifiers modifiers2)
Creates a new modifiers from the specified modifiers. |
|
ChangeModifiers(ChangeModifiers modifiers1,
ChangeModifiers modifiers2,
ChangeModifiers modifiers3)
Creates a new modifiers from the specified modifiers. |
Method Summary | |
---|---|
ChangeModifiers |
add(ChangeModifiers modifiers)
Creates a new modifiers instance which is a union of the specified modifiers and this instance. |
boolean |
contains(ChangeModifiers modifiers)
Checks if the specified modifier is set. |
protected ChangeModifiers |
create(int modifiers)
|
protected Map<Integer,SpaceProxyOperationModifiers> |
getCache()
|
ChangeModifiers |
remove(ChangeModifiers modifiers)
Creates a new modifiers instance which excludes the specified modifiers from this instance. |
Methods inherited from class com.gigaspaces.client.SpaceProxyOperationModifiers |
---|
add, contains, createIfNeeded, equals, getCode, hashCode, readExternal, remove, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ChangeModifiers NONE
public static final ChangeModifiers ONE_WAY
public static final ChangeModifiers MEMORY_ONLY_SEARCH
public static final ChangeModifiers RETURN_DETAILED_RESULTS
ChangeResult.getResults()
should contain data, otherwise only the number
of changed entries will be returned as a result which can be accessed via the ChangeResult.getNumberOfChangedEntries()
.
Constructor Detail |
---|
public ChangeModifiers()
public ChangeModifiers(ChangeModifiers modifiers1, ChangeModifiers modifiers2)
modifiers1
- modifiers2
- public ChangeModifiers(ChangeModifiers modifiers1, ChangeModifiers modifiers2, ChangeModifiers modifiers3)
modifiers1
- modifiers2
- modifiers3
- public ChangeModifiers(ChangeModifiers... modifiers)
modifiers
- Method Detail |
---|
public boolean contains(ChangeModifiers modifiers)
modifiers
-
public ChangeModifiers add(ChangeModifiers modifiers)
modifiers
- Modifiers to add.
public ChangeModifiers remove(ChangeModifiers modifiers)
modifiers
- Modifiers to remove.
protected ChangeModifiers create(int modifiers)
create
in class SpaceProxyOperationModifiers
protected Map<Integer,SpaceProxyOperationModifiers> getCache()
getCache
in class SpaceProxyOperationModifiers
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |