MergeOptions
Contents
[
Hide
]
Inheritance: java.lang.Object
public class MergeOptions
Provides options for merge operation.
Learn more
Constructors
| Constructor | Description |
|---|---|
| MergeOptions() | Initializes a new instance of the MergeOptions class. |
Methods
| Method | Description |
|---|---|
| isAsync() | Gets the flag of asynchronous performing the operation. |
| setAsync(boolean value) | Sets the flag of asynchronous performing the operation. |
| getCancellation() | Gets the operation cancellation object. |
| setCancellation(Cancellation value) | Sets the operation cancellation object. |
MergeOptions()
public MergeOptions()
Initializes a new instance of the MergeOptions class.
isAsync()
public final boolean isAsync()
Gets the flag of asynchronous performing the operation. The default value is false .
Returns: boolean - The flag of asynchronous performing the operation.
setAsync(boolean value)
public final void setAsync(boolean value)
Sets the flag of asynchronous performing the operation. The default value is false .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean | The flag of asynchronous performing the operation. |
getCancellation()
public final Cancellation getCancellation()
Gets the operation cancellation object. The default value is null .
Returns: Cancellation - The operation cancellation object.
setCancellation(Cancellation value)
public final void setCancellation(Cancellation value)
Sets the operation cancellation object. The default value is null .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Cancellation | The operation cancellation object. |