MCPcopy Create free account
hub / github.com/RJ/ketama / getSocket

Method getSocket

java_ketama/SockIOPool.java:1399–1433  ·  view source on GitHub ↗

Method which spawns thread to get a connection and then enforces a timeout on the initial connection. This should be backed by a thread pool. Any volunteers? @param host host to establish connection to @param port port on that host @param timeout connection timeout in ms @return connected socket

( String host, int port, int timeout )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

SockIOMethod · 0.95

Calls 3

isConnectedMethod · 0.95
getSocketMethod · 0.95
isErrorMethod · 0.95

Tested by

no test coverage detected