/** * Returns whether to issue a StartTLS. * * @return use of StartTLS. */ public boolean isStartTls() { return clientConfiguration.isStartTls(); }
@Override public boolean isStartTls() { return clientConfiguration.isStartTls(); }
private RedisURI createRedisURIAndApplySettings(String host, int port) { RedisURI.Builder builder = RedisURI.Builder.redis(host, port); getRedisPassword().toOptional().ifPresent(builder::withPassword); clientConfiguration.getClientName().ifPresent(builder::withClientName); builder.withSsl(clientConfiguration.isUseSsl()); builder.withVerifyPeer(clientConfiguration.isVerifyPeer()); builder.withStartTls(clientConfiguration.isStartTls()); builder.withTimeout(clientConfiguration.getCommandTimeout()); return builder.build(); }
/** * Returns whether to issue a StartTLS. * * @return use of StartTLS. */ public boolean isStartTls() { return clientConfiguration.isStartTls(); }
@Override public boolean isStartTls() { return clientConfiguration.isStartTls(); }
/** * Returns whether to issue a StartTLS. * * @return use of StartTLS. */ public boolean isStartTls() { return clientConfiguration.isStartTls(); }
@Override public boolean isStartTls() { return clientConfiguration.isStartTls(); }
private RedisURI createRedisURIAndApplySettings(String host, int port) { RedisURI.Builder builder = RedisURI.Builder.redis(host, port); getRedisPassword().toOptional().ifPresent(builder::withPassword); clientConfiguration.getClientName().ifPresent(builder::withClientName); builder.withSsl(clientConfiguration.isUseSsl()); builder.withVerifyPeer(clientConfiguration.isVerifyPeer()); builder.withStartTls(clientConfiguration.isStartTls()); builder.withTimeout(clientConfiguration.getCommandTimeout()); return builder.build(); }
private RedisURI createRedisURIAndApplySettings(String host, int port) { RedisURI.Builder builder = RedisURI.Builder.redis(host, port); getRedisPassword().toOptional().ifPresent(builder::withPassword); clientConfiguration.getClientName().ifPresent(builder::withClientName); builder.withSsl(clientConfiguration.isUseSsl()); builder.withVerifyPeer(clientConfiguration.isVerifyPeer()); builder.withStartTls(clientConfiguration.isStartTls()); builder.withTimeout(clientConfiguration.getCommandTimeout()); return builder.build(); }