Interface ReactiveLockEventListener

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultReactiveLockEventListener

public interface ReactiveLockEventListener extends Serializable
Defines the contract for handling of lock events generated from a session.
  • Method Summary

    Modifier and Type
    Method
    Description
    reactiveOnLock(org.hibernate.event.spi.LockEvent event)
    Handle the given lock event.
  • Method Details

    • reactiveOnLock

      CompletionStage<Void> reactiveOnLock(org.hibernate.event.spi.LockEvent event) throws org.hibernate.HibernateException
      Handle the given lock event.
      Parameters:
      event - The lock event to be handled.
      Throws:
      org.hibernate.HibernateException