Model
Lock
Magento\MessageQueue\Model\Lock
What it does
This model manages database records for message queue locks in Magento 2.
It's used by the message queue system to track which messages are currently locked/being processed to prevent duplicate processing.
Developers typically interact with this through the resource model rather than directly, as the queue infrastructure handles locking automatically.
Public Methods
- getMessageCode()
- setMessageCode()
- getCreatedAt()
- setCreatedAt()