Class PropertyStoreConfigImpl

    • Constructor Detail

      • PropertyStoreConfigImpl

        public PropertyStoreConfigImpl()
      • PropertyStoreConfigImpl

        public PropertyStoreConfigImpl​(java.lang.Object config)
    • Method Detail

      • setReadOnly

        public void setReadOnly​(boolean readonly)
        Returns true if store is read-only
        Specified by:
        setReadOnly in interface PropertyStoreConfig
      • getKeyAttribute

        public java.lang.String getKeyAttribute()
        Returns the attribute name used as key in the connector
        Specified by:
        getKeyAttribute in interface PropertyStoreConfig
      • setKeyAttribute

        public void setKeyAttribute​(java.lang.String attrname)
        Sets the attribute name to use as property key in the connector
        Specified by:
        setKeyAttribute in interface PropertyStoreConfig
      • getValueAttribute

        public java.lang.String getValueAttribute()
        Returns the attribute name used as value in the connector
        Specified by:
        getValueAttribute in interface PropertyStoreConfig
      • setValueAttribute

        public void setValueAttribute​(java.lang.String attrname)
        Sets the attribute name to use for the value in the connector
        Specified by:
        setValueAttribute in interface PropertyStoreConfig
      • getCacheTimeout

        public int getCacheTimeout()
        Returns the cache timeout for in-memory properties (0 == never cache)
        Specified by:
        getCacheTimeout in interface PropertyStoreConfig
      • setCacheTimeout

        public void setCacheTimeout​(int timeout)
        Sets the timeout in seconds before a property is considered stale.
        Specified by:
        setCacheTimeout in interface PropertyStoreConfig
      • getInitialLoad

        public boolean getInitialLoad()
        Returns true if the property data store is read into memory on creation
        Specified by:
        getInitialLoad in interface PropertyStoreConfig
      • setInitialLoad

        public void setInitialLoad​(boolean load)
        Sets the initial load flag (true to load data source into memory)
        Specified by:
        setInitialLoad in interface PropertyStoreConfig
      • getClone

        public java.lang.Object getClone()
                                  throws java.lang.Exception
        Return self clone
        Specified by:
        getClone in interface BaseConfiguration
        Overrides:
        getClone in class BaseConfigurationImpl
        Returns:
        a cloned version of this object.
        Throws:
        java.lang.Exception
      • setDisplayString

        public void setDisplayString​(java.lang.String name)
        Used by the Config Editor to set the name that should be displayed for this PropertyStoreConfig
      • toString

        public java.lang.String toString()
        Description copied from class: BaseConfigurationImpl
        Answers a string containing the name of the config.
        Overrides:
        toString in class BaseConfigurationImpl
        Returns:
        a printable representation of the name