|
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.TakeModifiers
public class TakeModifiers
Provides modifiers to customize the behavior of take operations.
Field Summary | |
---|---|
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 |
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
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. |
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 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
Constructor Detail |
---|
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
- Method Detail |
---|
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.protected TakeModifiers 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 |