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
  • 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 name
      redisPort - REDIS server port
      redisDatabase - REDIS database index
      passwordOpt - password (optional)
  • Method Details

    • getClient

      @Deprecated public redis.clients.jedis.Jedis getClient()
      Deprecated.
      Specified by:
      getClient in interface io.vertigo.core.node.component.Connector<redis.clients.jedis.Jedis>
      Returns:
      jedis client
    • getName

      @Deprecated public String getName()
      Deprecated.
      Specified by:
      getName in interface io.vertigo.core.node.component.Connector<redis.clients.jedis.Jedis>
    • start

      @Deprecated public void start()
      Deprecated.
      Specified by:
      start in interface io.vertigo.core.node.component.Activeable
    • stop

      @Deprecated public void stop()
      Deprecated.
      Specified by:
      stop in interface io.vertigo.core.node.component.Activeable