com.senseidb.search.node
Class SenseiServer
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_serverNode
protected volatile com.linkedin.norbert.javacompat.cluster.Node _serverNode
_available
protected volatile boolean _available
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)
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.