Class HazelcastDockerSwarmDiscoveryProperties.DnsRProvider
java.lang.Object
org.apereo.cas.configuration.model.support.hazelcast.discovery.HazelcastDockerSwarmDiscoveryProperties.DnsRProvider
- All Implemented Interfaces:
Serializable
- Enclosing class:
HazelcastDockerSwarmDiscoveryProperties
@RequiresModule(name="cas-server-support-hazelcast-discovery-swarm")
public static class HazelcastDockerSwarmDiscoveryProperties.DnsRProvider
extends Object
implements Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionComma separated list of docker services and associated ports to be considered peers of this service.Name of the docker service that this instance is running in.int
Internal port that hazelcast is listening on.boolean
Enable provider.setEnabled
(boolean enabled) Enable provider.setPeerServices
(String peerServices) Comma separated list of docker services and associated ports to be considered peers of this service.setServiceName
(String serviceName) Name of the docker service that this instance is running in.setServicePort
(int servicePort) Internal port that hazelcast is listening on.
-
Constructor Details
-
DnsRProvider
public DnsRProvider()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Enable provider. -
getServiceName
Name of the docker service that this instance is running in. -
getServicePort
public int getServicePort()Internal port that hazelcast is listening on. -
getPeerServices
Comma separated list of docker services and associated ports to be considered peers of this service. Note, this must include itself (the definition of serviceName and servicePort) if the service is to cluster with other instances of this service. -
setEnabled
Enable provider.- Returns:
this
.
-
setServiceName
Name of the docker service that this instance is running in.- Returns:
this
.
-
setServicePort
Internal port that hazelcast is listening on.- Returns:
this
.
-
setPeerServices
Comma separated list of docker services and associated ports to be considered peers of this service. Note, this must include itself (the definition of serviceName and servicePort) if the service is to cluster with other instances of this service.- Returns:
this
.
-