Class CoherenceClientConfiguration

  • All Implemented Interfaces:
    io.micronaut.core.util.Toggleable

    @ConfigurationProperties("coherence.client")
    @Requires(property="coherence.client.enabled",
              value="true",
              defaultValue="false")
    public class CoherenceClientConfiguration
    extends java.lang.Object
    implements io.micronaut.core.util.Toggleable
    The Coherence client configuration.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PREFIX  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHost()
      Returns host name of gRPC server.
      int getPort()
      Gets gRPC server port.
      boolean isEnabled()
      Returns true if distributed configuration is enabled.
      boolean isEnableTls()
      Returns true if TLS is enabled.
      void setEnabled​(boolean enabled)
      Enables distributed configuration.
      void setEnableTls​(boolean enableTls)
      Enables TLS support.
      void setHost​(java.lang.String host)
      Sets host name of gRPC server.
      void setPort​(int port)
      Sets gRPC server port.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CoherenceClientConfiguration

        public CoherenceClientConfiguration()
    • Method Detail

      • getHost

        public java.lang.String getHost()
        Returns host name of gRPC server.
        Returns:
        host name
      • setHost

        public void setHost​(java.lang.String host)
        Sets host name of gRPC server.
        Parameters:
        host - host name
      • getPort

        public int getPort()
        Gets gRPC server port.
        Returns:
        port
      • setPort

        public void setPort​(int port)
        Sets gRPC server port.
        Parameters:
        port - port
      • isEnableTls

        public boolean isEnableTls()
        Returns true if TLS is enabled.
        Returns:
        true if TLS is enabled
      • setEnableTls

        public void setEnableTls​(boolean enableTls)
        Enables TLS support.
        Parameters:
        enableTls - true to enable TLS
      • isEnabled

        public boolean isEnabled()
        Returns true if distributed configuration is enabled.
        Specified by:
        isEnabled in interface io.micronaut.core.util.Toggleable
        Returns:
        Is distributed configuration enabled. True if it is.
      • setEnabled

        public void setEnabled​(boolean enabled)
        Enables distributed configuration.
        Parameters:
        enabled - Enable the distributed configuration
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object