MCPcopy Create free account

hub / github.com/RJ/ketama / functions

Functions128 in github.com/RJ/ketama

Functionpyketama_Continuum_new
python_ketama/ketamamodule.c:26
Functionpyketama_Continuum_repr
python_ketama/ketamamodule.c:67
MethodreadLine
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
Methodrun
Start the thread.
java_ketama/SockIOPool.java:1273
Methodrun
start thread running. This attempts to establish a connection.
java_ketama/SockIOPool.java:1706
MethodsetFailover
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
MethodsetHashingAlg
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
MethodsetInitConn
Sets the initial number of connections per server in the available pool. @param initConn int number of connections
java_ketama/SockIOPool.java:305
MethodsetMaintSleep
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
MethodsetMaxBusyTime
Sets the max busy time for threads in the busy pool. @param maxBusyTime idle time in ms
java_ketama/SockIOPool.java:362
MethodsetMaxConn
Sets the maximum number of spare connections allowed in our available pool. @param maxConn number of connections
java_ketama/SockIOPool.java:334
MethodsetMaxIdle
Sets the max idle time for threads in the available pool. @param maxIdle idle time in ms
java_ketama/SockIOPool.java:348
MethodsetMinConn
Sets the minimum number of spare connections to maintain in our available pool. @param minConn number of connections
java_ketama/SockIOPool.java:320
MethodsetNagle
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
MethodsetServers
Sets the list of all cache servers. @param servers String array of servers [host:port]
java_ketama/SockIOPool.java:274
MethodsetServersAndWeights
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
MethodsetSocketConnectTO
Sets the socket timeout for connects. Defaults to use blocking connect. @param socketConnectTO timeout in ms
java_ketama/SockIOPool.java:407
MethodsetSocketTO
Sets the socket timeout for reads. @param socketTO timeout in ms
java_ketama/SockIOPool.java:391
MethodsetUp
(self)
python_ketama/tests.py:7
MethodsetWeights
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
MethodshutDown
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
MethodtearDown
(self)
python_ketama/tests.py:19
Methodtest_hashi
(self)
python_ketama/tests.py:41
Methodtest_hashing
(self)
python_ketama/tests.py:36
Methodtest_invalid_data
(self)
python_ketama/tests.py:32
Methodtest_invalid_null
(self)
python_ketama/tests.py:29
Methodtest_points
(self)
python_ketama/tests.py:44
Methodtest_valid
(self)
python_ketama/tests.py:25
← previous101–128 of 128, ranked by callers