Class ReactiveEntityDeleteAction
- java.lang.Object
-
- org.hibernate.action.internal.EntityAction
-
- org.hibernate.action.internal.EntityDeleteAction
-
- org.hibernate.reactive.engine.impl.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 reactiveEntityDeleteAction
.- 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
-
-
-
-
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 interfaceorg.hibernate.action.spi.Executable
- Overrides:
execute
in classorg.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 interfaceReactiveExecutable
- Throws:
org.hibernate.HibernateException
-
-