Class JCacheXProperties.DistributedConfig
- java.lang.Object
-
- io.github.dhruv1110.jcachex.spring.configuration.JCacheXProperties.DistributedConfig
-
- Enclosing class:
- JCacheXProperties
public static class JCacheXProperties.DistributedConfig extends Object
Configuration for distributed cache functionality.
-
-
Constructor Summary
Constructors Constructor Description DistributedConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getAutoDiscovery()
String
getClusterName()
String
getConsistencyLevel()
Boolean
getEnabled()
Integer
getHeartbeatIntervalSeconds()
Integer
getMaxRetries()
String
getNetworkProtocol()
List<String>
getNodes()
Integer
getPort()
Integer
getReplicationFactor()
List<String>
getSeedNodes()
Integer
getTimeoutSeconds()
void
setAutoDiscovery(Boolean autoDiscovery)
void
setClusterName(String clusterName)
void
setConsistencyLevel(String consistencyLevel)
void
setEnabled(Boolean enabled)
void
setHeartbeatIntervalSeconds(Integer heartbeatIntervalSeconds)
void
setMaxRetries(Integer maxRetries)
void
setNetworkProtocol(String networkProtocol)
void
setNodes(List<String> nodes)
void
setPort(Integer port)
void
setReplicationFactor(Integer replicationFactor)
void
setSeedNodes(List<String> seedNodes)
void
setTimeoutSeconds(Integer timeoutSeconds)
-
-
-
Method Detail
-
getEnabled
public Boolean getEnabled()
-
setEnabled
public void setEnabled(Boolean enabled)
-
getClusterName
public String getClusterName()
-
setClusterName
public void setClusterName(String clusterName)
-
getReplicationFactor
public Integer getReplicationFactor()
-
setReplicationFactor
public void setReplicationFactor(Integer replicationFactor)
-
getConsistencyLevel
public String getConsistencyLevel()
-
setConsistencyLevel
public void setConsistencyLevel(String consistencyLevel)
-
getNetworkProtocol
public String getNetworkProtocol()
-
setNetworkProtocol
public void setNetworkProtocol(String networkProtocol)
-
getPort
public Integer getPort()
-
setPort
public void setPort(Integer port)
-
getTimeoutSeconds
public Integer getTimeoutSeconds()
-
setTimeoutSeconds
public void setTimeoutSeconds(Integer timeoutSeconds)
-
getAutoDiscovery
public Boolean getAutoDiscovery()
-
setAutoDiscovery
public void setAutoDiscovery(Boolean autoDiscovery)
-
getHeartbeatIntervalSeconds
public Integer getHeartbeatIntervalSeconds()
-
setHeartbeatIntervalSeconds
public void setHeartbeatIntervalSeconds(Integer heartbeatIntervalSeconds)
-
getMaxRetries
public Integer getMaxRetries()
-
setMaxRetries
public void setMaxRetries(Integer maxRetries)
-
-