/AWS1/CL_APYSYNCCONFIG¶
Describes a Sync configuration for a resolver.
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_conflicthandler
TYPE /AWS1/APYCONFLICTHANDLERTYPE
/AWS1/APYCONFLICTHANDLERTYPE
¶
The Conflict Resolution strategy to perform in the event of a conflict.
OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
LAMBDA: Resolve conflicts with an Lambda function supplied in the
LambdaConflictHandlerConfig
.
iv_conflictdetection
TYPE /AWS1/APYCONFLICTDETECTIONTYPE
/AWS1/APYCONFLICTDETECTIONTYPE
¶
The Conflict Detection strategy to use.
VERSION: Detect conflicts based on object versions for this resolver.
NONE: Do not detect conflicts when invoking this resolver.
io_lambdaconflicthandlercfg
TYPE REF TO /AWS1/CL_APYLAMBDACONFLICTHA00
/AWS1/CL_APYLAMBDACONFLICTHA00
¶
The
LambdaConflictHandlerConfig
when configuringLAMBDA
as the Conflict Handler.
Queryable Attributes¶
conflictHandler¶
The Conflict Resolution strategy to perform in the event of a conflict.
OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
LAMBDA: Resolve conflicts with an Lambda function supplied in the
LambdaConflictHandlerConfig
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CONFLICTHANDLER() |
Getter for CONFLICTHANDLER, with configurable default |
ASK_CONFLICTHANDLER() |
Getter for CONFLICTHANDLER w/ exceptions if field has no val |
HAS_CONFLICTHANDLER() |
Determine if CONFLICTHANDLER has a value |
conflictDetection¶
The Conflict Detection strategy to use.
VERSION: Detect conflicts based on object versions for this resolver.
NONE: Do not detect conflicts when invoking this resolver.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CONFLICTDETECTION() |
Getter for CONFLICTDETECTION, with configurable default |
ASK_CONFLICTDETECTION() |
Getter for CONFLICTDETECTION w/ exceptions if field has no v |
HAS_CONFLICTDETECTION() |
Determine if CONFLICTDETECTION has a value |
lambdaConflictHandlerConfig¶
The
LambdaConflictHandlerConfig
when configuringLAMBDA
as the Conflict Handler.
Accessible with the following methods¶
Method | Description |
---|---|
GET_LAMBDACONFLICTHANDLERCFG() |
Getter for LAMBDACONFLICTHANDLERCONFIG |