String toExecuteInfo(final int tryCount, final long startedTime, final GatewayServer server,
                         final RedisCluster redis) {
        final StringBuilder sb = new StringBuilder();
        final long executedTime = System.currentTimeMillis() - startedTime;
        sb.append("time=").append(executedTime).append(", ");
        sb.append("retry=").append(tryCount).append(", ");
        sb.append("gateway=").append(server);
        if (redis != null) {
            sb.append(", ").append("connect=").append(redis.connectInfo());
        }

        return sb.toString();
    }
String toExecuteInfo(final int tryCount, final long startedTime, final GatewayServer server,
                         final RedisCluster redis) {
        final StringBuilder sb = new StringBuilder();
        final long executedTime = System.currentTimeMillis() - startedTime;
        sb.append("time=").append(executedTime).append(", ");
        sb.append("retry=").append(tryCount).append(", ");
        sb.append("gateway=").append(server);
        if (redis != null) {
            sb.append(", ").append("connect=").append(redis.connectInfo());
        }

        return sb.toString();
    }
String toExecuteInfo ( final int tryCount , final long startedTime , final GatewayServer server , final RedisCluster redis ) { final StringBuilder sb = new StringBuilder ( ) ; final long executedTime = System . currentTimeMillis ( ) - startedTime ; sb . append ( "time=" ) . append ( executedTime ) . append ( ", " ) ; sb . append ( "retry=" ) . append ( tryCount ) . append ( ", " ) ; sb . append ( "gateway=" ) . append ( server ) ; if ( redis != null ) { sb . append ( ", " ) . append ( "connect=" ) . append ( redis . connectInfo ( ) ) ; } return sb . toString ( ) ; }
time, retry, gateway server information.
time retry gateway server information .