Class CoherenceConfigClientProperties


  • @ConfigurationProperties("coherence.config-client")
    @Validated
    public class CoherenceConfigClientProperties
    extends java.lang.Object
    Contains Spring Boot @ConfigurationProperties for retrieval of configuration properties stored in a remote Coherence cluster.
    Since:
    3.0
    Author:
    Gunnar Hillert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_PROFILE
      Default profile value.
      static java.lang.String PREFIX
      Prefix for configuration properties.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getApplicationName()
      Name of the application used to fetch remote properties.
      java.lang.String getCacheConfig()  
      java.lang.String getProfile()
      The default profile to use when fetching remote configuration (comma-separated).
      java.lang.String getScopeName()
      Name of the Coherence scope used to fetch remote properties from.
      java.lang.String getSessionName()
      Name of the Coherence session used to fetch remote properties from.
      boolean isEnabled()
      Returns true if the facilities to retrieve remote Coherence configuration properties are enabled? Defaults to true if not set.
      boolean isFailFast()
      Flag to indicate that failure to connect to the server is fatal (default false).
      void setApplicationName​(java.lang.String applicationName)  
      void setCacheConfig​(java.lang.String cacheConfig)  
      void setEnabled​(boolean enabled)  
      void setFailFast​(boolean failFast)  
      void setProfile​(java.lang.String profile)  
      void setScopeName​(java.lang.String scopeName)  
      void setSessionName​(java.lang.String sessionName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PREFIX

        public static final java.lang.String PREFIX
        Prefix for configuration properties.
        See Also:
        Constant Field Values
      • DEFAULT_PROFILE

        public static final java.lang.String DEFAULT_PROFILE
        Default profile value.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CoherenceConfigClientProperties

        public CoherenceConfigClientProperties()
    • Method Detail

      • getProfile

        public java.lang.String getProfile()
        The default profile to use when fetching remote configuration (comma-separated). Default is "default".
        Returns:
        the specified Spring profile
      • setProfile

        public void setProfile​(java.lang.String profile)
      • isFailFast

        public boolean isFailFast()
        Flag to indicate that failure to connect to the server is fatal (default false).
        Returns:
        true if FailFast is enabled.
      • setFailFast

        public void setFailFast​(boolean failFast)
      • isEnabled

        public boolean isEnabled()
        Returns true if the facilities to retrieve remote Coherence configuration properties are enabled? Defaults to true if not set.
        Returns:
        true if the retrieval of remote Coherence configuration properties is enabled
      • setEnabled

        public void setEnabled​(boolean enabled)
      • getApplicationName

        public java.lang.String getApplicationName()
        Name of the application used to fetch remote properties.
        Returns:
        the name of the application to retrieve remote properties for
      • setApplicationName

        public void setApplicationName​(java.lang.String applicationName)
      • getSessionName

        public java.lang.String getSessionName()
        Name of the Coherence session used to fetch remote properties from. If not set, the default session is used.
        Returns:
        the name of the specified Coherence session
      • setSessionName

        public void setSessionName​(java.lang.String sessionName)
      • getScopeName

        public java.lang.String getScopeName()
        Name of the Coherence scope used to fetch remote properties from. If not set, the default scope is used.
        Returns:
        the scope name if set
      • setScopeName

        public void setScopeName​(java.lang.String scopeName)
      • getCacheConfig

        public java.lang.String getCacheConfig()
      • setCacheConfig

        public void setCacheConfig​(java.lang.String cacheConfig)