com.senseidb.search.node
Class SenseiCore

java.lang.Object
  extended by com.senseidb.search.node.SenseiCore

public class SenseiCore
extends Object


Constructor Summary
SenseiCore(int id, int[] partitions, SenseiZoieFactory<?> zoieSystemFactory, SenseiIndexingManager indexManager, SenseiQueryBuilderFactory queryBuilderFactory)
           
 
Method Summary
 proj.zoie.api.DataProvider getDataProvider()
           
 SenseiIndexPruner getIndexPruner()
           
 proj.zoie.api.IndexReaderFactory<proj.zoie.api.ZoieIndexReader<com.browseengine.bobo.api.BoboIndexReader>> getIndexReaderFactory(int partition)
           
 int getNodeId()
           
 int[] getPartitions()
           
 SenseiQueryBuilderFactory getQueryBuilderFactory()
           
 SenseiSystemInfo getSystemInfo()
           
 void setIndexPruner(SenseiIndexPruner pruner)
           
 void setSystemInfo(SenseiSystemInfo senseiSystemInfo)
           
 void shutdown()
           
 void start()
           
 void syncWithVersion(long timeToWait, String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SenseiCore

public SenseiCore(int id,
                  int[] partitions,
                  SenseiZoieFactory<?> zoieSystemFactory,
                  SenseiIndexingManager indexManager,
                  SenseiQueryBuilderFactory queryBuilderFactory)
Method Detail

setIndexPruner

public void setIndexPruner(SenseiIndexPruner pruner)

getIndexPruner

public SenseiIndexPruner getIndexPruner()

getNodeId

public int getNodeId()

getPartitions

public int[] getPartitions()

getSystemInfo

public SenseiSystemInfo getSystemInfo()

setSystemInfo

public void setSystemInfo(SenseiSystemInfo senseiSystemInfo)

start

public void start()
           throws Exception
Throws:
Exception

shutdown

public void shutdown()

getDataProvider

public proj.zoie.api.DataProvider getDataProvider()

getIndexReaderFactory

public proj.zoie.api.IndexReaderFactory<proj.zoie.api.ZoieIndexReader<com.browseengine.bobo.api.BoboIndexReader>> getIndexReaderFactory(int partition)

getQueryBuilderFactory

public SenseiQueryBuilderFactory getQueryBuilderFactory()

syncWithVersion

public void syncWithVersion(long timeToWait,
                            String version)
                     throws proj.zoie.api.ZoieException
Throws:
proj.zoie.api.ZoieException


Copyright © 2010-2012. All Rights Reserved.