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 Details

    • DnsRProvider

      public DnsRProvider()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Enable provider.
    • getServiceName

      public String getServiceName()
      Name of the docker service that this instance is running in.
    • getServicePort

      public int getServicePort()
      Internal port that hazelcast is listening on.
    • getPeerServices

      public String 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

      public HazelcastDockerSwarmDiscoveryProperties.DnsRProvider setEnabled(boolean enabled)
      Enable provider.
      Returns:
      this.
    • setServiceName

      public HazelcastDockerSwarmDiscoveryProperties.DnsRProvider setServiceName(String serviceName)
      Name of the docker service that this instance is running in.
      Returns:
      this.
    • setServicePort

      public HazelcastDockerSwarmDiscoveryProperties.DnsRProvider setServicePort(int servicePort)
      Internal port that hazelcast is listening on.
      Returns:
      this.
    • setPeerServices

      public HazelcastDockerSwarmDiscoveryProperties.DnsRProvider setPeerServices(String peerServices)
      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.