org.compass.gps.device.support.parallel
Class SameThreadParallelIndexExecutor

java.lang.Object
  extended by org.compass.gps.device.support.parallel.SameThreadParallelIndexExecutor
All Implemented Interfaces:
ParallelIndexExecutor

public class SameThreadParallelIndexExecutor
extends Object
implements ParallelIndexExecutor

Executes the indexing process on the same thread (and naturally using a single thread).

Author:
kimchy

Constructor Summary
SameThreadParallelIndexExecutor()
           
 
Method Summary
 void performIndex(IndexEntity[][] entities, IndexEntitiesIndexer indexEntitiesIndexer, CompassGpsInterfaceDevice compassGps)
          Performs the indexing process using the same thread (and naturally using a single thread).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SameThreadParallelIndexExecutor

public SameThreadParallelIndexExecutor()
Method Detail

performIndex

public void performIndex(IndexEntity[][] entities,
                         IndexEntitiesIndexer indexEntitiesIndexer,
                         CompassGpsInterfaceDevice compassGps)
Performs the indexing process using the same thread (and naturally using a single thread).

Specified by:
performIndex in interface ParallelIndexExecutor
Parameters:
entities - The index entities to index
indexEntitiesIndexer - The entities indexer to use
compassGps - Compass gps interface for meta information


Copyright (c) 2004-2008 The Compass Project.