public class DynamicConfigurationConfig extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BACKUP_COUNT
Default number of backup declarative configuration files to keep.
|
static String |
DEFAULT_BACKUP_DIR
Default name of the folder where backups will be kept.
|
Constructor and Description |
---|
DynamicConfigurationConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getBackupCount()
Returns backup count.
|
File |
getBackupDir()
Returns backup directory where declarative configuration backups will be kept.
|
int |
hashCode() |
boolean |
isPersistenceEnabled()
Returns whether Dynamic Configuration Persistence is enabled on this member.
|
DynamicConfigurationConfig |
setBackupCount(int backupCount)
Returns backup count.
|
DynamicConfigurationConfig |
setBackupDir(File backupDir)
Sets backup directory where declarative configuration backups will be kept.
|
DynamicConfigurationConfig |
setPersistenceEnabled(boolean persistenceEnabled)
Sets whether Dynamic Configuration Persistence is enabled on this member.
|
String |
toString() |
public static final String DEFAULT_BACKUP_DIR
public static final int DEFAULT_BACKUP_COUNT
public boolean isPersistenceEnabled()
@Nonnull public DynamicConfigurationConfig setPersistenceEnabled(boolean persistenceEnabled)
persistenceEnabled
- true if enabled@Nonnull public File getBackupDir()
@Nonnull public DynamicConfigurationConfig setBackupDir(@Nonnull File backupDir)
backupDir
- can be absolute path or relative path to the node startup directorypublic int getBackupCount()
backupCount
backups will be kept.@Nonnull public DynamicConfigurationConfig setBackupCount(int backupCount)
backupCount
backups will be kept.backupCount
- backup countCopyright © 2024 Hazelcast, Inc.. All rights reserved.