Class CloseIndexRunnable

java.lang.Object
org.hibernate.search.backend.impl.lucene.CloseIndexRunnable
All Implemented Interfaces:
Runnable

public class CloseIndexRunnable extends Object implements Runnable
Runnable to close the IndexWriter of a Workspace, if open. Used when a close operation needs scheduling for after other Runnables in an executor queue.
  • Constructor Details

    • CloseIndexRunnable

      public CloseIndexRunnable(Workspace workspace)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable