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
This is
RedisClusterNodeProperties
.- Since:
- 6.3.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHost()
Server's host address.getId()
Identifier of this node.getName()
Name of this node.int
getPort()
Server's port number.Set the id of the master node.getType()
Indicate the type/role of this node.Server's host address.Identifier of this node.Name of this node.setPort
(int port) Server's port number.setReplicaOf
(String replicaOf) Set the id of the master node.Indicate the type/role of this node.
-
Constructor Details
-
RedisClusterNodeProperties
public RedisClusterNodeProperties()
-
-
Method Details
-
getHost
Server's host address. -
getPort
public int getPort()Server's port number. -
getReplicaOf
Set the id of the master node. -
getId
Identifier of this node. -
getName
Name of this node. -
getType
Indicate the type/role of this node. Accepted values are:MASTER, REPLICA
. -
setHost
Server's host address.- Returns:
this
.
-
setPort
Server's port number.- Returns:
this
.
-
setReplicaOf
Set the id of the master node.- Returns:
this
.
-
setId
Identifier of this node.- Returns:
this
.
-
setName
Name of this node.- Returns:
this
.
-
setType
Indicate the type/role of this node. Accepted values are:MASTER, REPLICA
.- Returns:
this
.
-