org.xcmis.search.lucene.index
Interface IndexDataKeeperFactory<D,A,R>

All Known Implementing Classes:
InMemoryIndexDataKeeperFactory, LuceneIndexDataKeeperFactory, PersistentIndexDataKeeperFactory

public interface IndexDataKeeperFactory<D,A,R>

Created by The eXo Platform SAS.

Version:
$Id: IndexDataKeeperFactory.java 2 2010-02-04 17:21:49Z andrew00x $
Author:
Sergey Kabashnyuk

Method Summary
 LuceneIndexDataManager createNewIndexDataKeeper(IndexTransaction<D> changes)
           
 void dispose(IndexDataKeeper<D> indexDataKeeper)
          Free allocated resources
 LuceneIndexDataManager merge(Collection<LuceneIndexDataManager> chains)
          Merge two data keepers.
 

Method Detail

createNewIndexDataKeeper

LuceneIndexDataManager createNewIndexDataKeeper(IndexTransaction<D> changes)
                                                throws IndexException
Parameters:
changes -
Returns:
new index data keeper.
Throws:
IndexException

dispose

void dispose(IndexDataKeeper<D> indexDataKeeper)
             throws IndexException
Free allocated resources

Parameters:
indexDataKeepers -
Throws:
IndexException

merge

LuceneIndexDataManager merge(Collection<LuceneIndexDataManager> chains)
                             throws IndexException
Merge two data keepers.

Parameters:
chains -
otherKeeper -
Returns:
result index data keeper.
Throws:
IndexException


Copyright © 2010 eXo Platform SAS. All Rights Reserved.