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

Method getConnection

java_ketama/SockIOPool.java:857–934  ·  view source on GitHub ↗

Returns a SockIO object from the pool for the passed in host. Meant to be called from a more intelligent method which handles choosing appropriate server and failover. @param host host from which to retrieve object @return SockIO object or null if fail to retrieve one

( String host )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getSockMethod · 0.95
getSockNewHashMethod · 0.95

Calls 4

isConnectedMethod · 0.95
addSocketToPoolMethod · 0.95
toStringMethod · 0.95
createSocketMethod · 0.95

Tested by

no test coverage detected