public interface CompensationTrigger
Modifier and Type | Interface and Description |
---|---|
static class |
CompensationTrigger.ConflictInfo
The conflict information passed into the uponConflict() trigger.
|
static class |
CompensationTrigger.ConflictType
Possible conflicts that are detected.
|
Modifier and Type | Method and Description |
---|---|
void |
uponConflict(CompensationTrigger.ConflictInfo conflictInfo,
java.io.ObjectInputStream conflictedDataStream)
Compensation trigger callback method.
|
void uponConflict(CompensationTrigger.ConflictInfo conflictInfo, java.io.ObjectInputStream conflictedDataStream)
conflictInfo
- Information for this conflict.conflictedDataStream
- The conflicting instance serialized
into a Stream. Will be null for
CompensationTrigger.ConflictType.ADDED_INSTANCE
.