|
GigaSpaces XAP 8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.j_spaces.core.client.TakeModifiers
public class TakeModifiers
The TakeModifiers
class provides static
methods and
constants to decode Take type modifiers. The sets of modifiers are
represented as integers with distinct bit positions representing different
modifiers.
These modifiers can be set only at the operation
level (e.g. using one of IJSpace
take/takeIfExists/takeMultiple/clear
methods with a modifiers parameter )
Field Summary | |
---|---|
static int |
EVICT_ONLY
A modifier passed to take/clear operations. |
static int |
FIFO
Indicates the operation should comply with First-In-First-Out order. |
static int |
IGNORE_PARTIAL_FAILURE
A modifier passed to read multiple and take multiple operations. |
Method Summary | |
---|---|
static boolean |
isEvictOnly(int mod)
Checks if the EVICT_ONLY bit was set for this modifier. |
static boolean |
isFifo(int mod)
Checks if the FIFO bit was set for this modifier. |
static boolean |
isIgnorePartialFailure(int mod)
Checks if the IGNORE_PARTIAL_FAILURE bit was set for this modifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EVICT_ONLY
public static final int IGNORE_PARTIAL_FAILURE
TakeMultipleException
when not all of the requested number of entries are returned and one or more cluster members are not available.
public static final int FIFO
Method Detail |
---|
public static boolean isEvictOnly(int mod)
mod
- a set of modifiers
true
if mod
includes the EVICT_ONLY
bit is set.public static boolean isIgnorePartialFailure(int mod)
mod
- a set of modifiers
true
if mod
includes the IGNORE_PARTIAL_FAILURE
bit is set.public static boolean isFifo(int mod)
mod
- a set of modifiers
mod
includes the MATCH_BY_UID modifier; false otherwise.
|
GigaSpaces XAP 8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |