com.mysema.query.lucene.session.impl
Class LuceneSessionFactoryImpl

java.lang.Object
  extended by com.mysema.query.lucene.session.impl.LuceneSessionFactoryImpl
All Implemented Interfaces:
LuceneSessionFactory

public class LuceneSessionFactoryImpl
extends Object
implements LuceneSessionFactory


Constructor Summary
LuceneSessionFactoryImpl(org.apache.lucene.store.Directory directory)
           
LuceneSessionFactoryImpl(org.apache.lucene.store.Directory directory, ReleaseListener releaseListener)
           
LuceneSessionFactoryImpl(String indexPath)
           
 
Method Summary
 LuceneSession getCurrentSession()
           
 LuceneWriterImpl getWriter(boolean createNew)
           
 LuceneSearcher leaseSearcher()
           
 LuceneSession openSession(boolean readOnly)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneSessionFactoryImpl

public LuceneSessionFactoryImpl(String indexPath)
                         throws IOException
Throws:
IOException

LuceneSessionFactoryImpl

public LuceneSessionFactoryImpl(org.apache.lucene.store.Directory directory)

LuceneSessionFactoryImpl

public LuceneSessionFactoryImpl(org.apache.lucene.store.Directory directory,
                                ReleaseListener releaseListener)
Method Detail

getCurrentSession

public LuceneSession getCurrentSession()
Specified by:
getCurrentSession in interface LuceneSessionFactory

openSession

public LuceneSession openSession(boolean readOnly)
Specified by:
openSession in interface LuceneSessionFactory

getWriter

public LuceneWriterImpl getWriter(boolean createNew)

leaseSearcher

public LuceneSearcher leaseSearcher()


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.