com.senseidb.servlet
Class ZookeeperConfigurableServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.senseidb.servlet.ZookeeperConfigurableServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
AbstractSenseiClientServlet, SenseiHttpInvokerServiceServlet

public class ZookeeperConfigurableServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Field Summary
protected  String clusterClientName
           
protected  String clusterName
           
protected  int connectTimeoutMillis
           
protected  SenseiLoadBalancerFactory loadBalancerFactory
           
protected  int maxConnectionsPerNode
           
protected  int staleRequestCleanupFrequencyMins
           
protected  int staleRequestTimeoutMins
           
protected  Comparator<String> versionComparator
           
protected  int writeTimeoutMillis
           
protected  int zkTimeout
           
protected  String zkurl
           
 
Constructor Summary
ZookeeperConfigurableServlet()
           
 
Method Summary
 void init(javax.servlet.ServletConfig config)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

zkurl

protected String zkurl

clusterClientName

protected String clusterClientName

clusterName

protected String clusterName

zkTimeout

protected int zkTimeout

connectTimeoutMillis

protected int connectTimeoutMillis

writeTimeoutMillis

protected int writeTimeoutMillis

maxConnectionsPerNode

protected int maxConnectionsPerNode

staleRequestTimeoutMins

protected int staleRequestTimeoutMins

staleRequestCleanupFrequencyMins

protected int staleRequestCleanupFrequencyMins

loadBalancerFactory

protected SenseiLoadBalancerFactory loadBalancerFactory

versionComparator

protected Comparator<String> versionComparator
Constructor Detail

ZookeeperConfigurableServlet

public ZookeeperConfigurableServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException


Copyright © 2010-2012. All Rights Reserved.