Represents modifiers for space write operations.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | J# |
[FlagsAttribute] public enum WriteModifiers
<FlagsAttribute> _ Public Enumeration WriteModifiers
[FlagsAttribute] public enum class WriteModifiers
/** @attribute FlagsAttribute */ public enum WriteModifiers
![](../icons/collapse_all.gif)
Member | Description |
---|---|
None |
Use operation default behavior.
|
WriteOnly |
Only write is valid - if the entry exists in the space, a EntryAlreadyInSpaceException will be thrown.
![]() |
UpdateOnly |
Only update is valid - if the entry does not exist in the space, a EntryNotInSpaceException will be thrown.
![]() |
PartialUpdate |
Partial update will be performed - fields with null values in the new entry will be ignored.
![]() |
UpdateOrWrite |
Both update and write are valid - if the entry exists in the space it will be updated, otherwise it will be written.
![]() |
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.
|