com.senseidb.search.node
Class SenseiNetworkClientConfig

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

public class SenseiNetworkClientConfig
extends Object

Author:
nnarkhed

Constructor Summary
SenseiNetworkClientConfig()
           
 
Method Summary
 int getConnectTimeoutMillis()
           
 int getMaxConnectionsPerNode()
           
 com.linkedin.norbert.javacompat.network.NetworkClientConfig getNetworkConfigObject()
           
 String getserviceName()
           
 int getStaleRequestCleanupFrequencyMins()
           
 int getStaleRequestTimeoutMins()
           
 int getWriteTimeoutMillis()
           
 int getZooKeeperSessionTimeoutMillis()
           
 String getZooKeeperURL()
           
 void setConnectTimeoutMillis(int connectTimeoutMillis)
           
 void setMaxConnectionsPerNode(int maxConnectionsPerNode)
           
 void setserviceName(String serviceName)
           
 void setStaleRequestCleanupFrequencyMins(int staleRequestCleanupFrequencyMins)
           
 void setStaleRequestTimeoutMins(int staleRequestTimeoutMins)
           
 void setWriteTimeoutMillis(int writeTimeoutMillis)
           
 void setZooKeeperSessionTimeoutMillis(int zooKeeperSessionTimeoutMillis)
           
 void setZooKeeperURL(String zookeeperURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SenseiNetworkClientConfig

public SenseiNetworkClientConfig()
Method Detail

getserviceName

public String getserviceName()
Returns:
the serviceName

setserviceName

public void setserviceName(String serviceName)
Parameters:
serviceName - the serviceName to set

getZooKeeperURL

public String getZooKeeperURL()
Returns:
the zookeeperURL

setZooKeeperURL

public void setZooKeeperURL(String zookeeperURL)
Parameters:
zookeeperURL - the zookeeperURL to set

getZooKeeperSessionTimeoutMillis

public int getZooKeeperSessionTimeoutMillis()
Returns:
the zooKeeperSessionTimeoutMillis

setZooKeeperSessionTimeoutMillis

public void setZooKeeperSessionTimeoutMillis(int zooKeeperSessionTimeoutMillis)
Parameters:
zooKeeperSessionTimeoutMillis - the zooKeeperSessionTimeoutMillis to set

getConnectTimeoutMillis

public int getConnectTimeoutMillis()
Returns:
the _connectTimeoutMillis

setConnectTimeoutMillis

public void setConnectTimeoutMillis(int connectTimeoutMillis)
Parameters:
connectTimeoutMillis - the connectTimeoutMillis to set

getWriteTimeoutMillis

public int getWriteTimeoutMillis()
Returns:
the writeTimeoutMillis

setWriteTimeoutMillis

public void setWriteTimeoutMillis(int writeTimeoutMillis)
Parameters:
writeTimeoutMillis - the writeTimeoutMillis to set

getMaxConnectionsPerNode

public int getMaxConnectionsPerNode()
Returns:
the maxConnectionsPerNode

setMaxConnectionsPerNode

public void setMaxConnectionsPerNode(int maxConnectionsPerNode)
Parameters:
maxConnectionsPerNode - the maxConnectionsPerNode to set

getStaleRequestTimeoutMins

public int getStaleRequestTimeoutMins()
Returns:
the staleRequestTimeoutMins

setStaleRequestTimeoutMins

public void setStaleRequestTimeoutMins(int staleRequestTimeoutMins)
Parameters:
staleRequestTimeoutMins - the staleRequestTimeoutMins to set

getStaleRequestCleanupFrequencyMins

public int getStaleRequestCleanupFrequencyMins()
Returns:
the staleRequestCleanupFrequencyMins

setStaleRequestCleanupFrequencyMins

public void setStaleRequestCleanupFrequencyMins(int staleRequestCleanupFrequencyMins)
Parameters:
staleRequestCleanupFrequencyMins - the staleRequestCleanupFrequencyMins to set

getNetworkConfigObject

public com.linkedin.norbert.javacompat.network.NetworkClientConfig getNetworkConfigObject()


Copyright © 2010-2012. All Rights Reserved.