Class ReactiveEntityDeleteAction

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<org.hibernate.engine.spi.ComparableExecutable>, org.hibernate.action.spi.AfterTransactionCompletionProcess, org.hibernate.action.spi.Executable, org.hibernate.engine.spi.ComparableExecutable, ReactiveExecutable
    Direct Known Subclasses:
    ReactiveOrphanRemovalAction

    public class ReactiveEntityDeleteAction
    extends org.hibernate.action.internal.EntityDeleteAction
    implements ReactiveExecutable
    A reactive EntityDeleteAction.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ReactiveEntityDeleteAction​(java.lang.Object id, java.lang.Object[] state, java.lang.Object version, java.lang.Object instance, org.hibernate.persister.entity.EntityPersister persister, boolean isCascadeDeleteEnabled, org.hibernate.event.spi.EventSource session)  
      ReactiveEntityDeleteAction​(java.lang.Object id, org.hibernate.persister.entity.EntityPersister persister, org.hibernate.event.spi.EventSource session)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      java.util.concurrent.CompletionStage<java.lang.Void> reactiveExecute()  
      • Methods inherited from class org.hibernate.action.internal.EntityDeleteAction

        doAfterTransactionCompletion, getCurrentVersion, getLock, getNaturalIdValues, getState, getVersion, hasPostCommitEventListeners, isCascadeDeleteEnabled, lockCacheItem, postCommitDelete, postDelete, postDeleteLoaded, postDeleteUnloaded, preDelete, removeCacheItem, setLock, unlockCacheItem
      • Methods inherited from class org.hibernate.action.internal.EntityAction

        afterDeserialize, beforeExecutions, compareTo, eventSource, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getDelayedId, getEntityName, getFastSessionServices, getId, getInstance, getPersister, getPrimarySortClassifier, getPropertySpaces, getSecondarySortIndex, getSession, isVeto, needsAfterTransactionCompletion, setVeto, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.hibernate.action.spi.Executable

        afterDeserialize, beforeExecutions, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getPropertySpaces
    • Constructor Detail

      • ReactiveEntityDeleteAction

        public ReactiveEntityDeleteAction​(java.lang.Object id,
                                          java.lang.Object[] state,
                                          java.lang.Object version,
                                          java.lang.Object instance,
                                          org.hibernate.persister.entity.EntityPersister persister,
                                          boolean isCascadeDeleteEnabled,
                                          org.hibernate.event.spi.EventSource session)
      • ReactiveEntityDeleteAction

        public ReactiveEntityDeleteAction​(java.lang.Object id,
                                          org.hibernate.persister.entity.EntityPersister persister,
                                          org.hibernate.event.spi.EventSource session)
    • Method Detail

      • execute

        public void execute()
                     throws org.hibernate.HibernateException
        Specified by:
        execute in interface org.hibernate.action.spi.Executable
        Overrides:
        execute in class org.hibernate.action.internal.EntityDeleteAction
        Throws:
        org.hibernate.HibernateException
      • reactiveExecute

        public java.util.concurrent.CompletionStage<java.lang.Void> reactiveExecute()
                                                                             throws org.hibernate.HibernateException
        Specified by:
        reactiveExecute in interface ReactiveExecutable
        Throws:
        org.hibernate.HibernateException