com.senseidb.svc.impl
Class ClusteredSenseiServiceImpl
java.lang.Object
com.senseidb.svc.impl.ClusteredSenseiServiceImpl
- All Implemented Interfaces:
- SenseiService
public class ClusteredSenseiServiceImpl
- extends Object
- implements SenseiService
Constructor Summary |
ClusteredSenseiServiceImpl(String zkurl,
int zkTimeout,
String clusterClientName,
String clusterName,
int connectTimeoutMillis,
int writeTimeoutMillis,
int maxConnectionsPerNode,
int staleRequestTimeoutMins,
int staleRequestCleanupFrequencyMins,
SenseiLoadBalancerFactory loadBalancerFactory,
Comparator<String> versionComparator)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusteredSenseiServiceImpl
public ClusteredSenseiServiceImpl(String zkurl,
int zkTimeout,
String clusterClientName,
String clusterName,
int connectTimeoutMillis,
int writeTimeoutMillis,
int maxConnectionsPerNode,
int staleRequestTimeoutMins,
int staleRequestCleanupFrequencyMins,
SenseiLoadBalancerFactory loadBalancerFactory,
Comparator<String> versionComparator)
start
public void start()
doQuery
public SenseiResult doQuery(SenseiRequest req)
throws SenseiException
- Specified by:
doQuery
in interface SenseiService
- Throws:
SenseiException
getSystemInfo
public SenseiSystemInfo getSystemInfo()
throws SenseiException
- Specified by:
getSystemInfo
in interface SenseiService
- Throws:
SenseiException
shutdown
public void shutdown()
- Specified by:
shutdown
in interface SenseiService
Copyright © 2010-2012. All Rights Reserved.