Package io.vertigo.connectors.redis
Class RedisSingleConnector
java.lang.Object
io.vertigo.connectors.redis.RedisSingleConnector
- All Implemented Interfaces:
io.vertigo.core.node.component.Activeable,io.vertigo.core.node.component.Connector<redis.clients.jedis.Jedis>,io.vertigo.core.node.component.CoreComponent
@Deprecated
public class RedisSingleConnector
extends Object
implements io.vertigo.core.node.component.Connector<redis.clients.jedis.Jedis>, io.vertigo.core.node.component.Activeable
Deprecated.
- Author:
- pchretien
-
Field Summary
Fields inherited from interface io.vertigo.core.node.component.Connector
DEFAULT_CONNECTOR_NAME -
Constructor Summary
ConstructorsConstructorDescriptionRedisSingleConnector(io.vertigo.core.resource.ResourceManager resourceManager, Optional<String> connectorNameOpt, String redisHost, int redisPort, int redisDatabase, Optional<String> usernameOpt, Optional<String> passwordOpt, boolean ssl, Optional<String> masternameOpt, Optional<String> sentinelsOpt, Optional<String> trustStoreUrlOpt, Optional<String> trustStorePasswordOpt, Optional<Integer> maxTotalOpt, Optional<Integer> minIdleOpt) Deprecated. -
Method Summary
-
Constructor Details
-
RedisSingleConnector
@Deprecated @Inject public RedisSingleConnector(io.vertigo.core.resource.ResourceManager resourceManager, Optional<String> connectorNameOpt, String redisHost, int redisPort, int redisDatabase, Optional<String> usernameOpt, Optional<String> passwordOpt, boolean ssl, Optional<String> masternameOpt, Optional<String> sentinelsOpt, Optional<String> trustStoreUrlOpt, Optional<String> trustStorePasswordOpt, Optional<Integer> maxTotalOpt, Optional<Integer> minIdleOpt) Deprecated.Constructor.- Parameters:
connectorNameOpt- name of the connector (main by default)redisHost- REDIS server host nameredisPort- REDIS server portredisDatabase- REDIS database indexpasswordOpt- password (optional)
-
-
Method Details
-
getClient
Deprecated.- Specified by:
getClientin interfaceio.vertigo.core.node.component.Connector<redis.clients.jedis.Jedis>- Returns:
- jedis client
-
getName
Deprecated.- Specified by:
getNamein interfaceio.vertigo.core.node.component.Connector<redis.clients.jedis.Jedis>
-
start
Deprecated.- Specified by:
startin interfaceio.vertigo.core.node.component.Activeable
-
stop
Deprecated.- Specified by:
stopin interfaceio.vertigo.core.node.component.Activeable
-