Class QueuedOperationCollectionAction
- java.lang.Object
-
- org.hibernate.action.internal.CollectionAction
-
- org.hibernate.reactive.engine.impl.QueuedOperationCollectionAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<org.hibernate.engine.spi.ComparableExecutable>
,org.hibernate.action.spi.Executable
,org.hibernate.engine.spi.ComparableExecutable
,ReactiveExecutable
public final class QueuedOperationCollectionAction extends org.hibernate.action.internal.CollectionAction implements ReactiveExecutable
Copy ofQueuedOperationCollectionAction
, that adapts toReactiveExecutable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueuedOperationCollectionAction(org.hibernate.collection.spi.PersistentCollection collection, org.hibernate.persister.collection.CollectionPersister persister, java.lang.Object id, org.hibernate.event.spi.EventSource session)
Constructs a CollectionUpdateAction
-
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.CollectionAction
afterDeserialize, beforeExecutions, compareTo, eventSource, evict, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getCollection, getFastSessionServices, getKey, getPersister, getPrimarySortClassifier, getPropertySpaces, getSecondarySortIndex, getSession, toString
-
-
-
-
Constructor Detail
-
QueuedOperationCollectionAction
public QueuedOperationCollectionAction(org.hibernate.collection.spi.PersistentCollection collection, org.hibernate.persister.collection.CollectionPersister persister, java.lang.Object id, org.hibernate.event.spi.EventSource session)
Constructs a CollectionUpdateAction- Parameters:
collection
- The collection to updatepersister
- The collection persisterid
- The collection keysession
- The session
-
-
Method Detail
-
reactiveExecute
public java.util.concurrent.CompletionStage<java.lang.Void> reactiveExecute()
- Specified by:
reactiveExecute
in interfaceReactiveExecutable
-
execute
public void execute() throws org.hibernate.HibernateException
- Specified by:
execute
in interfaceorg.hibernate.action.spi.Executable
- Throws:
org.hibernate.HibernateException
-
-