Class ReactiveUpdateRowsCoordinatorOneToMany
- java.lang.Object
-
- org.hibernate.persister.collection.mutation.AbstractUpdateRowsCoordinator
-
- org.hibernate.persister.collection.mutation.UpdateRowsCoordinatorOneToMany
-
- org.hibernate.reactive.persister.collection.mutation.ReactiveUpdateRowsCoordinatorOneToMany
-
- All Implemented Interfaces:
CollectionOperationCoordinator
,UpdateRowsCoordinator
,ReactiveUpdateRowsCoordinator
public class ReactiveUpdateRowsCoordinatorOneToMany extends UpdateRowsCoordinatorOneToMany implements ReactiveUpdateRowsCoordinator
-
-
Field Summary
-
Fields inherited from class org.hibernate.persister.collection.mutation.AbstractUpdateRowsCoordinator
mutationExecutorService
-
-
Constructor Summary
Constructors Constructor Description ReactiveUpdateRowsCoordinatorOneToMany(CollectionMutationTarget mutationTarget, RowMutationOperations rowMutationOperations, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
CompletionStage<Void>
reactiveUpdateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
void
updateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
-
Methods inherited from class org.hibernate.persister.collection.mutation.AbstractUpdateRowsCoordinator
getMutationTarget, getSessionFactory, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.persister.collection.mutation.CollectionOperationCoordinator
getMutationTarget
-
-
-
-
Constructor Detail
-
ReactiveUpdateRowsCoordinatorOneToMany
public ReactiveUpdateRowsCoordinatorOneToMany(CollectionMutationTarget mutationTarget, RowMutationOperations rowMutationOperations, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
updateRows
public void updateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
- Specified by:
updateRows
in interfaceUpdateRowsCoordinator
- Overrides:
updateRows
in classAbstractUpdateRowsCoordinator
-
doUpdate
protected int doUpdate(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
- Overrides:
doUpdate
in classUpdateRowsCoordinatorOneToMany
-
reactiveUpdateRows
public CompletionStage<Void> reactiveUpdateRows(Object key, PersistentCollection<?> collection, SharedSessionContractImplementor session)
- Specified by:
reactiveUpdateRows
in interfaceReactiveUpdateRowsCoordinator
-
-