Class MastershipConfiguration

  • All Implemented Interfaces:
    IConfiguration

    public class MastershipConfiguration
    extends CommonConfiguration
    The configuration class for mastership based on DataDistributionMastershipManager
    • Field Detail

      • MastershipGlobalConfigurationBasePropertyKey

        public static final java.lang.String MastershipGlobalConfigurationBasePropertyKey
        See Also:
        Constant Field Values
    • Constructor Detail

      • MastershipConfiguration

        public MastershipConfiguration​(IConfiguration originalConf)
        Duplicates a configuration
        Parameters:
        originalConf - IConfiguration to duplicate
      • MastershipConfiguration

        public MastershipConfiguration​(java.lang.String libraryName,
                                       IConfiguration originalConf)
        Duplicates a configuration
        Parameters:
        libraryName - The mastership library name (or full path) to use
        originalConf - IConfiguration to duplicate
    • Method Detail

      • getProperty

        public java.lang.String getProperty​(java.lang.String property)
        Generic getter for all configuration properties
        Parameters:
        property - The property name
        Returns:
        The property value
      • setProperty

        public void setProperty​(java.lang.String property,
                                java.lang.String value)
        Generic setter for all configuration properties
        Parameters:
        property - The property name
        value - The property value