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

java.lang.Object
  extended by org.xcmis.search.lucene.index.merge.InheritanceAggregationPolicy
All Implemented Interfaces:
AggregatePolicy
Direct Known Subclasses:
MaxCandidatsCountAggrigatePolicy, MaxTotalDocumentCountAggregatePolicy, MaxTotalSizeAggrigatePolicy

public abstract class InheritanceAggregationPolicy
extends Object
implements AggregatePolicy

Created by The eXo Platform SAS.

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

Constructor Summary
InheritanceAggregationPolicy(AggregatePolicy superAggregatePolicy)
           
 
Method Summary
 Collection<LuceneIndexDataManager> findIndexDataManagerToAggrigate(Collection<LuceneIndexDataManager> aggregateCandidat, long requiredCandidatCount, long reguiredTotalCandidatSize)
           
 Collection<LuceneIndexDataManager> findIndexDataManagerToOptimize(Collection<LuceneIndexDataManager> aggregateCandidat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InheritanceAggregationPolicy

public InheritanceAggregationPolicy(AggregatePolicy superAggregatePolicy)
Method Detail

findIndexDataManagerToAggrigate

public Collection<LuceneIndexDataManager> findIndexDataManagerToAggrigate(Collection<LuceneIndexDataManager> aggregateCandidat,
                                                                          long requiredCandidatCount,
                                                                          long reguiredTotalCandidatSize)
Specified by:
findIndexDataManagerToAggrigate in interface AggregatePolicy

findIndexDataManagerToOptimize

public Collection<LuceneIndexDataManager> findIndexDataManagerToOptimize(Collection<LuceneIndexDataManager> aggregateCandidat)
Specified by:
findIndexDataManagerToOptimize in interface AggregatePolicy


Copyright © 2011 eXo Platform SAS. All Rights Reserved.