GigaSpaces XAP.NET Documentation
WriteModifiers Enumeration
Class LibraryGigaSpaces.CoreWriteModifiers
Represents modifiers for space write operations.
Declaration Syntax
C#Visual BasicVisual C++J#
[FlagsAttribute]
public enum WriteModifiers
<FlagsAttribute> _
Public Enumeration WriteModifiers
[FlagsAttribute]
public enum class WriteModifiers
/** @attribute FlagsAttribute */
public enum WriteModifiers
Members
MemberDescription
None
Use operation default behavior.

WriteOnly
Only write is valid - if the entry exists in the space, a EntryAlreadyInSpaceException will be thrown.
Note:This modifier cannot be used together with: UpdateOnly, UpdateOrWrite, PartialUpdate

UpdateOnly
Only update is valid - if the entry does not exist in the space, a EntryNotInSpaceException will be thrown.
Note:This modifier cannot be used together with: WriteOnly, UpdateOrWrite

PartialUpdate
Partial update will be performed - fields with null values in the new entry will be ignored.
Note:This modifier cannot be used together with: WriteOnly, UpdateOrWrite

UpdateOrWrite
Both update and write are valid - if the entry exists in the space it will be updated, otherwise it will be written.
Note:This modifier cannot be used together with: UpdateOnly, WriteOnly, PartialUpdate

NoReturnValue
The method will not return a value. This improves performance due to reduction of the overhead of creating the result.

ReturnPrevOnUpdate
Determines if an update operation should return the previous entry in the lease.

OneWay
Operation is executed in one way mode, meaning no return value will be provided. Using this mode provides no guarantee whether the operation succeeded or not, the only guarantee is that the operation was successfully written to the local network buffer. As a result, using this modifier will cause the operation not to guarantee automatic fail-over if the primary space instance failed, and it cannot be done under a transaction. When used with an auto generated id space entry, the local entry instance will not be updated with the generated id as this is done on the server. The same applies for version property.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 12.1.0.0 (12.1.0.17000)