Class DynamicConfigurationConfig

java.lang.Object
com.hazelcast.config.DynamicConfigurationConfig

public class DynamicConfigurationConfig extends Object
Dynamic Configuration related configuration options.
Since:
5.1
  • Field Details

    • DEFAULT_BACKUP_DIR

      public static final String DEFAULT_BACKUP_DIR
      Default name of the folder where backups will be kept. Note that by default this is name of the folder, and it will be in the node startup directory.
      See Also:
    • DEFAULT_BACKUP_COUNT

      public static final int DEFAULT_BACKUP_COUNT
      Default number of backup declarative configuration files to keep.
      See Also:
  • Constructor Details

    • DynamicConfigurationConfig

      public DynamicConfigurationConfig()
  • Method Details

    • isPersistenceEnabled

      public boolean isPersistenceEnabled()
      Returns whether Dynamic Configuration Persistence is enabled on this member.
      Returns:
      true if Dynamic Configuration Persistence is enabled
    • setPersistenceEnabled

      @Nonnull public DynamicConfigurationConfig setPersistenceEnabled(boolean persistenceEnabled)
      Sets whether Dynamic Configuration Persistence is enabled on this member.
      Parameters:
      persistenceEnabled - true if enabled
      Returns:
      DynamicConfigurationConfig
    • getBackupDir

      @Nonnull public File getBackupDir()
      Returns backup directory where declarative configuration backups will be kept.
      Returns:
      backupDir
    • setBackupDir

      @Nonnull public DynamicConfigurationConfig setBackupDir(@Nonnull File backupDir)
      Sets backup directory where declarative configuration backups will be kept.
      Parameters:
      backupDir - can be absolute path or relative path to the node startup directory
      Returns:
      DynamicConfigurationConfig
    • getBackupCount

      public int getBackupCount()
      Returns backup count. Last backupCount backups will be kept.
      Returns:
      backupCount
    • setBackupCount

      @Nonnull public DynamicConfigurationConfig setBackupCount(int backupCount)
      Returns backup count. Last backupCount backups will be kept.
      Parameters:
      backupCount - backup count
      Returns:
      this DynamicConfigurationConfig
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object