Class JdbcAsyncWriter

  • java.lang.Object
    • org.apache.geode.connectors.jdbc.internal.AbstractJdbcCallback
      • org.apache.geode.connectors.jdbc.JdbcAsyncWriter
    • Field Summary

      • Fields inherited from class org.apache.geode.connectors.jdbc.internal.AbstractJdbcCallback

        cache
    • Constructor Summary

      Constructors 
      Constructor Description
      JdbcAsyncWriter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean processEvents​(java.util.List<AsyncEvent> events)
      Process the list of AsyncEvents.
      • Methods inherited from class org.apache.geode.connectors.jdbc.internal.AbstractJdbcCallback

        checkInitialized, eventCanBeIgnored, getSqlHandler
      • Methods inherited from class java.lang.Object

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

      • JdbcAsyncWriter

        public JdbcAsyncWriter()
    • Method Detail

      • processEvents

        public boolean processEvents​(java.util.List<AsyncEvent> events)
        Description copied from interface: AsyncEventListener
        Process the list of AsyncEvents. This method will asynchronously be called when events are queued to be processed. The size of the list will be up to batch size events where batch size is defined in the AsyncEventQueueFactory.
        Specified by:
        processEvents in interface AsyncEventListener
        Parameters:
        events - The list of AsyncEvent to process
        Returns:
        boolean True represents whether the events were successfully processed, false otherwise.