Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
PersistenceConfig |
Config.getPersistenceConfig()
Returns the Persistence configuration for this hazelcast instance
|
PersistenceConfig |
PersistenceConfig.setAutoRemoveStaleData(boolean autoRemoveStaleData)
Sets whether or not automatic removal of stale Persistence restart data is enabled.
|
PersistenceConfig |
PersistenceConfig.setBackupDir(File backupDir)
Sets base directory for all Hot Restart stores.
|
PersistenceConfig |
PersistenceConfig.setBaseDir(File baseDir)
Sets base directory for all Persistence stores.
|
PersistenceConfig |
PersistenceConfig.setClusterDataRecoveryPolicy(PersistenceClusterDataRecoveryPolicy clusterDataRecoveryPolicy)
Sets the policy to be used when the cluster is started
|
PersistenceConfig |
PersistenceConfig.setDataLoadTimeoutSeconds(int dataLoadTimeoutSeconds)
Sets data load timeout for persistence restart process,
all members in the cluster should complete restoring their local data
before this timeout.
|
PersistenceConfig |
PersistenceConfig.setEnabled(boolean enabled)
Sets whether persistence is enabled on this member.
|
PersistenceConfig |
PersistenceConfig.setEncryptionAtRestConfig(EncryptionAtRestConfig encryptionAtRestConfig)
Sets the Persistence Encryption at Rest configuration.
|
PersistenceConfig |
PersistenceConfig.setParallelism(int parallelism)
Sets the number of Persistence store instances to create for one Hazelcast instance.
|
PersistenceConfig |
PersistenceConfig.setRebalanceDelaySeconds(int rebalanceDelaySeconds)
Set the rebalance delay in seconds.
|
PersistenceConfig |
PersistenceConfig.setValidationTimeoutSeconds(int validationTimeoutSeconds)
Sets validation timeout for persistence restart process, includes validating
cluster members expected to join and partition table on all cluster.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setPersistenceConfig(PersistenceConfig persistenceConfig)
Sets the Persistence configuration.
|
Copyright © 2021 Hazelcast, Inc.. All rights reserved.