public class EncryptionConfiguration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DFLT_REENCRYPTION_BATCH_SIZE
Default number of pages that is scanned during reencryption under checkpoint lock.
|
static double |
DFLT_REENCRYPTION_RATE_MBPS
Default re-encryption rate limit.
|
Constructor and Description |
---|
EncryptionConfiguration()
Creates valid encryption configuration with all default values.
|
EncryptionConfiguration(EncryptionConfiguration cfg)
Constructs the copy of the configuration.
|
Modifier and Type | Method and Description |
---|---|
int |
getReencryptionBatchSize()
Gets the number of pages that is scanned during re-encryption under checkpoint lock.
|
double |
getReencryptionRateLimit()
Gets re-encryption rate limit.
|
EncryptionConfiguration |
setReencryptionBatchSize(int reencryptionBatchSize)
Sets the number of pages that is scanned during re-encryption under checkpoint lock.
|
EncryptionConfiguration |
setReencryptionRateLimit(double reencryptionRateLimit)
Sets re-encryption rate limit.
|
public static final double DFLT_REENCRYPTION_RATE_MBPS
0
, which means that scan speed is not limited.public static final int DFLT_REENCRYPTION_BATCH_SIZE
100
.public EncryptionConfiguration()
public EncryptionConfiguration(EncryptionConfiguration cfg)
cfg
- Configuration to copy.public double getReencryptionRateLimit()
public EncryptionConfiguration setReencryptionRateLimit(double reencryptionRateLimit)
reencryptionRateLimit
- Re-encryption rate limit in megabytes per second.this
for chaining.public int getReencryptionBatchSize()
public EncryptionConfiguration setReencryptionBatchSize(int reencryptionBatchSize)
reencryptionBatchSize
- The number of pages that is scanned during re-encryption under checkpoint lock.this
for chaining.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023