org.compass.gps.device.support.parallel
Interface ParallelIndexExecutor

All Known Implementing Classes:
ConcurrentParallelIndexExecutor, SameThreadParallelIndexExecutor

public interface ParallelIndexExecutor

Indexes a list of groups of IndexEntity already partitioned using the provided IndexEntitiesIndexer.

Author:
kimchy
See Also:
AbstractParallelGpsDevice, IndexEntitiesIndexer, IndexEntity

Method Summary
 void performIndex(IndexEntity[][] entities, IndexEntitiesIndexer indexEntitiesIndexer, CompassGpsInterfaceDevice compassGps)
          Indexes a list of groups of index entities already partitioned using the provided index entities indexer.
 

Method Detail

performIndex

void performIndex(IndexEntity[][] entities,
                  IndexEntitiesIndexer indexEntitiesIndexer,
                  CompassGpsInterfaceDevice compassGps)
                  throws CompassGpsException
Indexes a list of groups of index entities already partitioned using the provided index entities indexer.

Parameters:
entities - The entities to index
indexEntitiesIndexer - The indexer to use in order to index the entities
compassGps - The gps interface to use in order to obtain meta information
Throws:
CompassGpsException


Copyright (c) 2004-2009 The Compass Project.