public class TakeModifiers extends SpaceProxyOperationModifiers
Modifier and Type | Field and Description |
---|---|
static TakeModifiers |
EVICT_ONLY
Remove matching entries from memory only (do not remove from the underlying EDS).
|
static TakeModifiers |
FIFO
Search for matching entries using First-In-First-Out order.
|
static TakeModifiers |
FIFO_GROUPING_POLL
Search for matching entries in the FIFO group indicated in the template.
|
static TakeModifiers |
IF_EXISTS
Blocks only if there's a matching entry which is locked by another transaction.
|
static TakeModifiers |
IGNORE_PARTIAL_FAILURE
If one or more partitions are not available during the operation, ignore them
and return partial results based on the available partitions (instead of throwing an
TakeMultipleException which contains the partial results, which is the default behavior).
|
static TakeModifiers |
MEMORY_ONLY_SEARCH
Search for matching entries in cache memory only (do not use the underlying EDS).
|
static TakeModifiers |
NONE
Empty - use operation default behavior.
|
Constructor and Description |
---|
TakeModifiers() |
TakeModifiers(TakeModifiers... modifiers)
Creates a new modifiers from the specified modifiers.
|
TakeModifiers(TakeModifiers modifiers1,
TakeModifiers modifiers2)
Creates a new modifiers from the specified modifiers.
|
TakeModifiers(TakeModifiers modifiers1,
TakeModifiers modifiers2,
TakeModifiers modifiers3)
Creates a new modifiers from the specified modifiers.
|
Modifier and Type | Method and Description |
---|---|
TakeModifiers |
add(TakeModifiers modifiers)
Creates a new modifiers instance which is a union of the specified modifiers and this instance.
|
boolean |
contains(TakeModifiers modifiers)
Checks if the specified modifier is set.
|
protected TakeModifiers |
create(int modifiers) |
protected Map<Integer,SpaceProxyOperationModifiers> |
getCache() |
boolean |
isEvictOnly()
Checks if this instance contains the
EVICT_ONLY setting. |
boolean |
isFifo()
Checks if this instance contains the
FIFO setting. |
boolean |
isFifoGroupingPoll()
Checks if this instance contains the
FIFO_GROUPING_POLL setting. |
boolean |
isIfExists()
Checks if this instance contains the
IF_EXISTS setting. |
boolean |
isIgnorePartialFailure()
Checks if this instance contains the
IGNORE_PARTIAL_FAILURE setting. |
boolean |
isMemoryOnlySearch()
Checks if this instance contains the
MEMORY_ONLY_SEARCH setting. |
TakeModifiers |
remove(TakeModifiers 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 TakeModifiers NONE
public static final TakeModifiers EVICT_ONLY
public static final TakeModifiers IGNORE_PARTIAL_FAILURE
public static final TakeModifiers FIFO
public static final TakeModifiers FIFO_GROUPING_POLL
SpaceFifoGroupingProperty
.SpaceFifoGroupingProperty}
public static final TakeModifiers MEMORY_ONLY_SEARCH
public static final TakeModifiers IF_EXISTS
public TakeModifiers()
public TakeModifiers(TakeModifiers modifiers1, TakeModifiers modifiers2)
modifiers1
- modifiers2
- public TakeModifiers(TakeModifiers modifiers1, TakeModifiers modifiers2, TakeModifiers modifiers3)
modifiers1
- modifiers2
- modifiers3
- public TakeModifiers(TakeModifiers... modifiers)
modifiers
- public boolean contains(TakeModifiers modifiers)
modifiers
- public TakeModifiers add(TakeModifiers modifiers)
modifiers
- Modifiers to add.public TakeModifiers remove(TakeModifiers modifiers)
modifiers
- Modifiers to remove.public boolean isEvictOnly()
EVICT_ONLY
setting.EVICT_ONLY
setting, false otherwise.public boolean isIgnorePartialFailure()
IGNORE_PARTIAL_FAILURE
setting.IGNORE_PARTIAL_FAILURE
setting, false otherwise.public boolean isFifo()
FIFO
setting.FIFO
setting, false otherwise.public boolean isFifoGroupingPoll()
FIFO_GROUPING_POLL
setting.FIFO_GROUPING_POLL
setting, false otherwise.public boolean isMemoryOnlySearch()
MEMORY_ONLY_SEARCH
setting.MEMORY_ONLY_SEARCH
setting, false otherwise.public boolean isIfExists()
IF_EXISTS
setting.IF_EXISTS
setting, false otherwise.protected TakeModifiers create(int modifiers)
create
in class SpaceProxyOperationModifiers
protected Map<Integer,SpaceProxyOperationModifiers> getCache()
getCache
in class SpaceProxyOperationModifiers
Copyright © GigaSpaces.