org.hibernate.search.backend.impl.lucene
Class CloseIndexRunnable

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

public class CloseIndexRunnable
extends java.lang.Object
implements java.lang.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.

Author:
Sanne Grinovero

Constructor Summary
CloseIndexRunnable(Workspace workspace)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloseIndexRunnable

public CloseIndexRunnable(Workspace workspace)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2006-2010 Hibernate. All Rights Reserved.