private String getEndPoint(Object[] args) {
        // first arg is host
        final Object argZero = args[0];
        if (argZero instanceof String) {
            return EndPointUtils.getEndPoint(args);
        } else if (argZero instanceof URI) {
            final URI uri = (URI) argZero;
            return HostAndPort.toHostAndPortString(uri.getHost(), uri.getPort());
        } else if (argZero instanceof JedisShardInfo) {
            final JedisShardInfo info = (JedisShardInfo) argZero;
            return HostAndPort.toHostAndPortString(info.getHost(), info.getPort());
        // TODO The JedisSocketFactory class is supported from jedis version 3.6, and java 1.8 is required.
        // } else if (argZero instanceof JedisSocketFactory) {
        //    final JedisSocketFactory factory = (JedisSocketFactory) argZero;
        //    return HostAndPort.toHostAndPortString(factory.getHost(), factory.getPort());
        }
        return "Unknown";
    }
Jedis (redis client) constructor interceptor
- trace endPoint

@author jaehong.kim
agent-module/plugins/redis/src/main/java/com/navercorp/pinpoint/plugin/redis/jedis/interceptor/SetEndPointInterceptor.java