Class FlushJobBatchCommit

  • All Implemented Interfaces:
    FlushJob

    public class FlushJobBatchCommit
    extends java.lang.Object
    implements FlushJob
    A FlushJob that commits and re-opens a transaction on the database.
    Author:
    Matthew Wakeling
    • Constructor Summary

      Constructors 
      Constructor Description
      FlushJobBatchCommit​(java.sql.Connection con)
      Constructor for this class
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void flush()
      Performs the flush of all data represented by this object.
      • Methods inherited from class java.lang.Object

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

      • FlushJobBatchCommit

        public FlushJobBatchCommit​(java.sql.Connection con)
        Constructor for this class
        Parameters:
        con - a Connection with which to perform the updates
    • Method Detail

      • flush

        public void flush()
                   throws java.sql.SQLException
        Performs the flush of all data represented by this object.
        Specified by:
        flush in interface FlushJob
        Throws:
        java.sql.SQLException - if there is a problem performing the flush