Package org.apache.ignite.configuration
Class EncryptionConfiguration
- java.lang.Object
- 
- org.apache.ignite.configuration.EncryptionConfiguration
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class EncryptionConfiguration extends Object implements Serializable Encryption configuration.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intDFLT_REENCRYPTION_BATCH_SIZEDefault number of pages that is scanned during reencryption under checkpoint lock.static doubleDFLT_REENCRYPTION_RATE_MBPSDefault re-encryption rate limit.
 - 
Constructor SummaryConstructors Constructor Description EncryptionConfiguration()Creates valid encryption configuration with all default values.EncryptionConfiguration(EncryptionConfiguration cfg)Constructs the copy of the configuration.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetReencryptionBatchSize()Gets the number of pages that is scanned during re-encryption under checkpoint lock.doublegetReencryptionRateLimit()Gets re-encryption rate limit.EncryptionConfigurationsetReencryptionBatchSize(int reencryptionBatchSize)Sets the number of pages that is scanned during re-encryption under checkpoint lock.EncryptionConfigurationsetReencryptionRateLimit(double reencryptionRateLimit)Sets re-encryption rate limit.
 
- 
- 
- 
Field Detail- 
DFLT_REENCRYPTION_RATE_MBPSpublic static final double DFLT_REENCRYPTION_RATE_MBPS Default re-encryption rate limit. The value is0, which means that scan speed is not limited.- See Also:
- Constant Field Values
 
 - 
DFLT_REENCRYPTION_BATCH_SIZEpublic static final int DFLT_REENCRYPTION_BATCH_SIZE Default number of pages that is scanned during reencryption under checkpoint lock. The value is100.- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
EncryptionConfigurationpublic EncryptionConfiguration() Creates valid encryption configuration with all default values.
 - 
EncryptionConfigurationpublic EncryptionConfiguration(EncryptionConfiguration cfg) Constructs the copy of the configuration.- Parameters:
- cfg- Configuration to copy.
 
 
- 
 - 
Method Detail- 
getReencryptionRateLimitpublic double getReencryptionRateLimit() Gets re-encryption rate limit.- Returns:
- Re-encryption rate limit in megabytes per second.
 
 - 
setReencryptionRateLimitpublic EncryptionConfiguration setReencryptionRateLimit(double reencryptionRateLimit) Sets re-encryption rate limit.- Parameters:
- reencryptionRateLimit- Re-encryption rate limit in megabytes per second.
- Returns:
- thisfor chaining.
 
 - 
getReencryptionBatchSizepublic int getReencryptionBatchSize() Gets the number of pages that is scanned during re-encryption under checkpoint lock.- Returns:
- The number of pages that is scanned during re-encryption under checkpoint lock.
 
 - 
setReencryptionBatchSizepublic EncryptionConfiguration setReencryptionBatchSize(int reencryptionBatchSize) Sets the number of pages that is scanned during re-encryption under checkpoint lock.- Parameters:
- reencryptionBatchSize- The number of pages that is scanned during re-encryption under checkpoint lock.
- Returns:
- thisfor chaining.
 
 
- 
 
-