Class CoherenceClientConfiguration

java.lang.Object
io.micronaut.coherence.discovery.CoherenceClientConfiguration
All Implemented Interfaces:
io.micronaut.core.util.Toggleable

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

  • Constructor Details

    • CoherenceClientConfiguration

      public CoherenceClientConfiguration()
  • Method Details

    • getSession

      public String getSession()
      Return the name of the session used by this configuration client.
      Returns:
      the name of the session used by this configuration client
    • setSession

      public void setSession(String session)
      Set the name of the session used by this configuration client.
      Parameters:
      session - the name of the session
    • isEnabled

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

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

      public String toString()
      Overrides:
      toString in class Object