public class Modifiers extends Object
static
methods and constants to decode available
GigaSpaces types modifiers. The sets of modifiers are represented as integers with distinct bit
positions representing different modifiers.Modifier and Type | Field and Description |
---|---|
static int |
DIRTY_READ
If set, the Dirty read option allows you to retrieve the latest state of the object before it
has been committed.
|
static int |
EVICT_ONLY
A modifier passed to take operations.
|
static int |
EXCLUSIVE_READ_LOCK
Provides an Exclusive Read lock.
|
static int |
FIFO
An internal usage to get indication whether the desired operation represents FIFO.
|
static int |
FIFO_GROUPING_POLL
A modifier passed to take & read operations.
|
static int |
IF_EXISTS
Read any matching object from the space, returning
null if there currently is
none. |
static int |
IGNORE_PARTIAL_FAILURE
A modifier passed to read multiple and take multiple operations.
|
static int |
LOG_SCANNED_ENTRIES_COUNT |
static int |
MATCH_BY_ID
The
int value required matching to be done only by UID if provided (not in POJO)
modifier. |
static int |
MEMORY_ONLY_SEARCH
Search for proper entries in cache memory only (dont use the underlying EDS).
|
static int |
NO_RETURN_VALUE
Deprecated.
Since 9.0.0
|
static int |
NO_WRITE_LEASE
Deprecated.
|
static int |
NONE
This modifier represents NONE modifier without any bit flag.
|
static int |
ONE_WAY
This modifier is relevant only for remote space.
|
static int |
OVERRIDE_VERSION
For internal use.
|
static int |
PARTIAL_UPDATE
If set, null values in the updated entry are treated as "leave as it is".
|
static int |
READ_COMMITTED
If set, provides read_committed isolation per the SPECIFIC read operation read_committed can
also set , in the traditional way, per created transactions using the proxy level
setTransactionIsolationLevel() API effected operations: Operations: Read, readIfExists,
readMultiple
|
static int |
RESERVED_EXTERNALIZABLE_TRANSPORT
An indication whether the desired operation received from
java.io.Externalizable
operations. |
static int |
RESERVED_PARTIAL_READ
If set, performs a full matching, but the returned value will not contain the values for the
template's null fields, good for remote performance.
|
static int |
RESERVED_RETURN_ONLY_UID
If set, The match Collection will contain an instance of Entry UID of read or take
operations.
|
static int |
RETURN_DETAILED_CHANGE_RESULT
Determines if a change operation should return detailed results.
|
static int |
RETURN_DOCUMENT_PROPERTIES
Internal property.
|
static int |
RETURN_PREV_ON_UPDATE
Determines if an update operation should return the previous entry in the lease.
|
static int |
RETURN_PREV_ON_UPDATE_NOTIFY
Determines if an update operation notification should return the previous entry.
|
static int |
RETURN_STRING_PROPERTIES
Internal property.
|
static int |
THROW_PARTIAL_FAILURE
Deprecated.
This is the default behavior, for old behavior use
IGNORE_PARTIAL_FAILURE |
static int |
UPDATE
If set, performs a regular update operation.
|
static int |
UPDATE_OR_WRITE
The
int value representing the UPDATE_OR_WRITE modifier. |
static int |
WRITE
Performs a regular write operation.
|
Constructor and Description |
---|
Modifiers() |
Modifier and Type | Method and Description |
---|---|
static int |
add(int modifiers,
int setting) |
static boolean |
contains(int modifiers,
int setting) |
static int |
remove(int modifiers,
int setting) |
public static final int NONE
public static final int ONE_WAY
null
. Operations: Any@Deprecated public static final int NO_RETURN_VALUE
null
instead of the lease
object (write) or previous value (update). Using this option will improve application write
operation performance - null return value yields less network traffic and less memory
consumption. Note: This modifier does not replace ONE_WAY modifierpublic static final int WRITE
public static final int UPDATE
public static final int PARTIAL_UPDATE
public static final int DIRTY_READ
public static final int RESERVED_PARTIAL_READ
java.io.Externalizable
entries. Operations: Read, Takepublic static final int RESERVED_RETURN_ONLY_UID
public static final int IF_EXISTS
null
if there currently is
none. Matching and timeouts are done as in read
, except that blocking in this
call is done only if necessary to wait for transactional state to settle. Operations: Read,
Takepublic static final int EXCLUSIVE_READ_LOCK
public static final int RESERVED_EXTERNALIZABLE_TRANSPORT
java.io.Externalizable
operations. Operations: Anypublic static final int FIFO
public static final int UPDATE_OR_WRITE
int
value representing the UPDATE_OR_WRITE
modifier. When set:
if the entry to be updated does not reside in the space, a new entry is written public static final int READ_COMMITTED
public static final int MATCH_BY_ID
int
value required matching to be done only by UID if provided (not in POJO)
modifier.@Deprecated public static final int THROW_PARTIAL_FAILURE
IGNORE_PARTIAL_FAILURE
ReadMultipleException
,TakeMultipleException
to
be thrown when not all of the requested number of entries are returned and one or more
cluster members are not available.public static final int IGNORE_PARTIAL_FAILURE
ReadMultipleException
,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 EVICT_ONLY
@Deprecated public static final int NO_WRITE_LEASE
public static final int OVERRIDE_VERSION
public static final int FIFO_GROUPING_POLL
SpaceFifoGroupingProperty
public static final int RETURN_STRING_PROPERTIES
public static final int RETURN_DOCUMENT_PROPERTIES
SpaceDocument
,
without loading the data classes.public static final int RETURN_PREV_ON_UPDATE
public static final int MEMORY_ONLY_SEARCH
public static final int RETURN_DETAILED_CHANGE_RESULT
public static final int LOG_SCANNED_ENTRIES_COUNT
public static final int RETURN_PREV_ON_UPDATE_NOTIFY
Copyright © GigaSpaces.