Interface LockRowInTransactionStrategy

All Known Implementing Classes:
DefaultLockRowInTransactionStrategy

public interface LockRowInTransactionStrategy
Service to create exclusive locks on a given ItemModel.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    lock(ItemModel model)
    Creates a exclusive lock on the given ItemModel.
  • Method Details

    • lock

      boolean lock(ItemModel model)
      Creates a exclusive lock on the given ItemModel.
      Parameters:
      model - the container to lock.
      Returns:
      true if a lock could be established, false otherwise.