public class ChangeModifiers extends SpaceProxyOperationModifiers
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
add, contains, createIfNeeded, equals, getCode, hashCode, readExternal, remove, writeExternal
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()
.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
- 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
Copyright © GigaSpaces.