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.
|
File |
getPersistenceFile()
Returns persistence file where Dynamic Configuration changes are persisted.
|
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.
|
DynamicConfigurationConfig |
setPersistenceFile(File persistenceFile)
Sets persistence file where Dynamic Configuration changes are persisted.
|
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@Nullable public File getPersistenceFile()
@Nonnull public DynamicConfigurationConfig setPersistenceFile(@Nullable File persistenceFile)
persistenceFile
- can be absolute path or relative path to the node startup directory@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 © 2022 Hazelcast, Inc.. All rights reserved.