Class MVStore.BackgroundWriterThread

java.lang.Object
java.lang.Thread
org.h2.mvstore.MVStore.BackgroundWriterThread
All Implemented Interfaces:
Runnable
Enclosing class:
MVStore

private static class MVStore.BackgroundWriterThread extends Thread
A background writer thread to automatically store changes from time to time.
  • Field Details

    • sync

      public final Object sync
    • store

      private final MVStore store
    • sleep

      private final int sleep
  • Constructor Details

    • BackgroundWriterThread

      BackgroundWriterThread(MVStore store, int sleep, String fileStoreName)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread