Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RJ/ketama
/ functions
Functions
128 in github.com/RJ/ketama
⨍
Functions
128
◇
Types & classes
9
Function
pyketama_Continuum_new
python_ketama/ketamamodule.c:26
Function
pyketama_Continuum_repr
python_ketama/ketamamodule.c:67
Method
readLine
reads a line intentionally not using the deprecated readLine method from DataInputStream @return String that was read in @throws IOException if io pr
java_ketama/SockIOPool.java:1535
Method
run
Start the thread.
java_ketama/SockIOPool.java:1273
Method
run
start thread running. This attempts to establish a connection.
java_ketama/SockIOPool.java:1706
Method
setFailover
Sets the failover flag for the pool. If this flag is set to true, and a socket fails to connect,<br/> the pool will attempt to return a socket from a
java_ketama/SockIOPool.java:426
Method
setHashingAlg
Sets the hashing algorithm we will use. The types are as follows. SockIOPool.NATIVE_HASH (0) - native String.hashCode() - fast (cached) but not
java_ketama/SockIOPool.java:462
Method
setInitConn
Sets the initial number of connections per server in the available pool. @param initConn int number of connections
java_ketama/SockIOPool.java:305
Method
setMaintSleep
Set the sleep time between runs of the pool maintenance thread. If set to 0, then the maint thread will not be started. @param maintSleep sleep time
java_ketama/SockIOPool.java:377
Method
setMaxBusyTime
Sets the max busy time for threads in the busy pool. @param maxBusyTime idle time in ms
java_ketama/SockIOPool.java:362
Method
setMaxConn
Sets the maximum number of spare connections allowed in our available pool. @param maxConn number of connections
java_ketama/SockIOPool.java:334
Method
setMaxIdle
Sets the max idle time for threads in the available pool. @param maxIdle idle time in ms
java_ketama/SockIOPool.java:348
Method
setMinConn
Sets the minimum number of spare connections to maintain in our available pool. @param minConn number of connections
java_ketama/SockIOPool.java:320
Method
setNagle
Sets the Nagle alg flag for the pool. If false, will turn off Nagle's algorithm on all sockets created. @param nagle true/false
java_ketama/SockIOPool.java:442
Method
setServers
Sets the list of all cache servers. @param servers String array of servers [host:port]
java_ketama/SockIOPool.java:274
Method
setServersAndWeights
Sets the list of all cache servers and weights for each string in the array that should be in the form ip:port\tweight @param servers
java_ketama/SockIOPool.java:251
Method
setSocketConnectTO
Sets the socket timeout for connects. Defaults to use blocking connect. @param socketConnectTO timeout in ms
java_ketama/SockIOPool.java:407
Method
setSocketTO
Sets the socket timeout for reads. @param socketTO timeout in ms
java_ketama/SockIOPool.java:391
Method
setUp
(self)
python_ketama/tests.py:7
Method
setWeights
Sets the list of weights to apply to the server list. This is an int array with each element corresponding to an element<br/> in the same position in
java_ketama/SockIOPool.java:291
Method
shutDown
Shuts down the pool. Cleanly closes all sockets.<br/> Stops the maint thread.<br/> Nulls out all internal maps<br/>
java_ketama/SockIOPool.java:1081
Method
tearDown
(self)
python_ketama/tests.py:19
Method
test_hashi
(self)
python_ketama/tests.py:41
Method
test_hashing
(self)
python_ketama/tests.py:36
Method
test_invalid_data
(self)
python_ketama/tests.py:32
Method
test_invalid_null
(self)
python_ketama/tests.py:29
Method
test_points
(self)
python_ketama/tests.py:44
Method
test_valid
(self)
python_ketama/tests.py:25
← previous
101–128 of 128, ranked by callers