org.xcmis.search.lucene.index.merge
Class PendingAggregatePolicy

java.lang.Object
  extended by org.xcmis.search.lucene.index.merge.IndexSizeAggregatePolicy
      extended by org.xcmis.search.lucene.index.merge.DocumentCountAggregatePolicy
          extended by org.xcmis.search.lucene.index.merge.ModificationTimeAggregatePolicy
              extended by org.xcmis.search.lucene.index.merge.PendingAggregatePolicy
All Implemented Interfaces:
AggregatePolicy

public class PendingAggregatePolicy
extends ModificationTimeAggregatePolicy

Created by The eXo Platform SAS.

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.xcmis.search.lucene.index.merge.DocumentCountAggregatePolicy
DocumentCountAggregatePolicy.DocumentCountComparator
 
Field Summary
 
Fields inherited from class org.xcmis.search.lucene.index.merge.ModificationTimeAggregatePolicy
DEFAULT_MAX_MODIFACATION_TIME, DEFAULT_MIN_MODIFACATION_TIME
 
Fields inherited from class org.xcmis.search.lucene.index.merge.DocumentCountAggregatePolicy
DEFAULT_MAX_DOCUMENTS_4_DIR, DEFAULT_MIN_DOCUMENTS_4_DIR
 
Fields inherited from class org.xcmis.search.lucene.index.merge.IndexSizeAggregatePolicy
DEFAULT_MAX_DIR_SIZE, DEFAULT_MIN_DIR_SIZE
 
Constructor Summary
PendingAggregatePolicy()
           
 
Method Summary
 Collection<LuceneIndexDataManager> findIndexDataManagerToAggrigate(Collection<LuceneIndexDataManager> aggregateCandidat, long requiredCandidatCount, long reguiredTotalCandidatSize)
          
 int getMinAggregateTime()
           
 void setMinAggregateTime(int minAggregateTime)
           
 
Methods inherited from class org.xcmis.search.lucene.index.merge.ModificationTimeAggregatePolicy
getMinModificationTime, setMinModificationTime
 
Methods inherited from class org.xcmis.search.lucene.index.merge.DocumentCountAggregatePolicy
getMaxDocuments4Dir, getMinDocuments4Dir, setMaxDocuments4Dir, setMinDocuments4Dir
 
Methods inherited from class org.xcmis.search.lucene.index.merge.IndexSizeAggregatePolicy
findIndexDataManagerToOptimize, getMaxDirSize, getMinDirSize, setMaxDirSize, setMinDirSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PendingAggregatePolicy

public PendingAggregatePolicy()
Method Detail

getMinAggregateTime

public int getMinAggregateTime()
Returns:
The minimum time that must elapse after the previous aggregate.

setMinAggregateTime

public void setMinAggregateTime(int minAggregateTime)
Parameters:
minAggregateTime - The minimum time that must elapse after the previous aggregate.

findIndexDataManagerToAggrigate

public Collection<LuceneIndexDataManager> findIndexDataManagerToAggrigate(Collection<LuceneIndexDataManager> aggregateCandidat,
                                                                          long requiredCandidatCount,
                                                                          long reguiredTotalCandidatSize)
Description copied from class: DocumentCountAggregatePolicy

Specified by:
findIndexDataManagerToAggrigate in interface AggregatePolicy
Overrides:
findIndexDataManagerToAggrigate in class ModificationTimeAggregatePolicy


Copyright © 2011 eXo Platform SAS. All Rights Reserved.