Class AbstractReactiveFlushingEventListener

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.concurrent.CompletionStage<java.lang.Void> flushEverythingToExecutions​(org.hibernate.event.spi.FlushEvent event)
      Coordinates the processing necessary to get things ready for executions as db calls by preping the session caches and moving the appropriate entities and collections to their respective execution queues.
      protected void logFlushResults​(org.hibernate.event.spi.FlushEvent event)  
      protected java.util.concurrent.CompletionStage<java.lang.Void> performExecutions​(org.hibernate.event.spi.EventSource session)  
      protected void postFlush​(org.hibernate.engine.spi.SessionImplementor session)
      1.
      protected void postPostFlush​(org.hibernate.engine.spi.SessionImplementor session)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractReactiveFlushingEventListener

        public AbstractReactiveFlushingEventListener()
    • Method Detail

      • performExecutions

        protected java.util.concurrent.CompletionStage<java.lang.Void> performExecutions​(org.hibernate.event.spi.EventSource session)
      • flushEverythingToExecutions

        protected java.util.concurrent.CompletionStage<java.lang.Void> flushEverythingToExecutions​(org.hibernate.event.spi.FlushEvent event)
                                                                                            throws org.hibernate.HibernateException
        Coordinates the processing necessary to get things ready for executions as db calls by preping the session caches and moving the appropriate entities and collections to their respective execution queues.
        Parameters:
        event - The flush event.
        Throws:
        org.hibernate.HibernateException - Error flushing caches to execution queues.
      • logFlushResults

        protected void logFlushResults​(org.hibernate.event.spi.FlushEvent event)
      • postFlush

        protected void postFlush​(org.hibernate.engine.spi.SessionImplementor session)
                          throws org.hibernate.HibernateException
        1. Recreate the collection key to collection map 2. rebuild the collection entries 3. call Interceptor.postFlush()
        Throws:
        org.hibernate.HibernateException
      • postPostFlush

        protected void postPostFlush​(org.hibernate.engine.spi.SessionImplementor session)