Interface OptimisticLockingListener

    • Method Detail

      • getEntityType

        java.lang.Class<? extends DbEntity> getEntityType()
        The type of the entity for which this listener should be notified. If the implementation returns 'null', the listener is notified for all entity types.
        the entity type for which the listener should be notified.
      • failedOperation

        OptimisticLockingResult failedOperation​(DbOperation operation)
        Signifies that an operation failed due to optimistic locking.
        operation - the failed operation.
        OptimisticLockingResult that instructs the caller how to handle the result of the failed operation.