Class RedisClusterNodeProperties

java.lang.Object
org.apereo.cas.configuration.model.support.redis.RedisClusterNodeProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-support-redis-core") public class RedisClusterNodeProperties extends Object implements Serializable
Since:
6.3.0
See Also:
  • Constructor Details

    • RedisClusterNodeProperties

      public RedisClusterNodeProperties()
  • Method Details

    • getHost

      public String getHost()
      Server's host address.
    • getPort

      public int getPort()
      Server's port number.
    • getReplicaOf

      public String getReplicaOf()
      Set the id of the master node.
    • getId

      public String getId()
      Identifier of this node.
    • getName

      public String getName()
      Name of this node.
    • getType

      public String getType()
      Indicate the type/role of this node. Accepted values are: MASTER, REPLICA.
    • setHost

      public RedisClusterNodeProperties setHost(String host)
      Server's host address.
      Returns:
      this.
    • setPort

      public RedisClusterNodeProperties setPort(int port)
      Server's port number.
      Returns:
      this.
    • setReplicaOf

      public RedisClusterNodeProperties setReplicaOf(String replicaOf)
      Set the id of the master node.
      Returns:
      this.
    • setId

      Identifier of this node.
      Returns:
      this.
    • setName

      public RedisClusterNodeProperties setName(String name)
      Name of this node.
      Returns:
      this.
    • setType

      public RedisClusterNodeProperties setType(String type)
      Indicate the type/role of this node. Accepted values are: MASTER, REPLICA.
      Returns:
      this.