com.senseidb.search.node
Class SenseiServer

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

public class SenseiServer
extends Object


Field Summary
protected  boolean _available
           
protected  com.linkedin.norbert.javacompat.cluster.Node _serverNode
           
 
Constructor Summary
SenseiServer(int id, int port, int[] partitions, com.linkedin.norbert.javacompat.network.NetworkServer networkServer, com.linkedin.norbert.javacompat.cluster.ClusterClient clusterClient, SenseiZoieFactory<?> zoieSystemFactory, SenseiIndexingManager indexingManager, SenseiQueryBuilderFactory queryBuilderFactory, List<AbstractSenseiCoreService<AbstractSenseiRequest,AbstractSenseiResult>> externalSvc, SenseiPluginRegistry pluginRegistry)
           
SenseiServer(int port, com.linkedin.norbert.javacompat.network.NetworkServer networkServer, com.linkedin.norbert.javacompat.cluster.ClusterClient clusterClient, SenseiCore senseiCore, List<AbstractSenseiCoreService<AbstractSenseiRequest,AbstractSenseiResult>> externalSvc, SenseiPluginRegistry pluginRegistry)
           
 
Method Summary
 proj.zoie.api.DataProvider getDataProvider()
           
 SenseiCore getSenseiCore()
           
 boolean isAvailable()
           
static void main(String[] args)
           
 void setAvailable(boolean available)
           
 void shutdown()
           
 void start(boolean available)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_serverNode

protected volatile com.linkedin.norbert.javacompat.cluster.Node _serverNode

_available

protected volatile boolean _available
Constructor Detail

SenseiServer

public SenseiServer(int id,
                    int port,
                    int[] partitions,
                    com.linkedin.norbert.javacompat.network.NetworkServer networkServer,
                    com.linkedin.norbert.javacompat.cluster.ClusterClient clusterClient,
                    SenseiZoieFactory<?> zoieSystemFactory,
                    SenseiIndexingManager indexingManager,
                    SenseiQueryBuilderFactory queryBuilderFactory,
                    List<AbstractSenseiCoreService<AbstractSenseiRequest,AbstractSenseiResult>> externalSvc,
                    SenseiPluginRegistry pluginRegistry)

SenseiServer

public SenseiServer(int port,
                    com.linkedin.norbert.javacompat.network.NetworkServer networkServer,
                    com.linkedin.norbert.javacompat.cluster.ClusterClient clusterClient,
                    SenseiCore senseiCore,
                    List<AbstractSenseiCoreService<AbstractSenseiRequest,AbstractSenseiResult>> externalSvc,
                    SenseiPluginRegistry pluginRegistry)
Method Detail

getDataProvider

public proj.zoie.api.DataProvider getDataProvider()

getSenseiCore

public SenseiCore getSenseiCore()

shutdown

public void shutdown()

start

public void start(boolean available)
           throws Exception
Throws:
Exception

setAvailable

public void setAvailable(boolean available)

isAvailable

public boolean isAvailable()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2010-2012. All Rights Reserved.