Interface CfnApplication.CheckpointConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplication.CheckpointConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnApplication
Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance in the Apache Flink Documentation .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisanalyticsv2.*;
CheckpointConfigurationProperty checkpointConfigurationProperty = CheckpointConfigurationProperty.builder()
.configurationType("configurationType")
// the properties below are optional
.checkpointingEnabled(false)
.checkpointInterval(123)
.minPauseBetweenCheckpoints(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplication.CheckpointConfigurationPropertystatic final classAn implementation forCfnApplication.CheckpointConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectDescribes whether checkpointing is enabled for a Managed Service for Apache Flink application.default NumberDescribes the interval in milliseconds between checkpoint operations.Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior.default NumberDescribes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurationType
Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior.You must set this property to
CUSTOMin order to set theCheckpointingEnabled,CheckpointInterval, orMinPauseBetweenCheckpointsparameters.If this value is set to
DEFAULT, the application will use the following values, even if they are set to other values using APIs or application code:- CheckpointingEnabled: true
- CheckpointInterval: 60000
- MinPauseBetweenCheckpoints: 5000
- See Also:
-
getCheckpointingEnabled
Describes whether checkpointing is enabled for a Managed Service for Apache Flink application.If
CheckpointConfiguration.ConfigurationTypeisDEFAULT, the application will use aCheckpointingEnabledvalue oftrue, even if this value is set to another value using this API or in application code.Returns union: either
BooleanorIResolvable- See Also:
-
getCheckpointInterval
Describes the interval in milliseconds between checkpoint operations.If
CheckpointConfiguration.ConfigurationTypeisDEFAULT, the application will use aCheckpointIntervalvalue of 60000, even if this value is set to another value using this API or in application code.- See Also:
-
getMinPauseBetweenCheckpoints
Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.If a checkpoint operation takes longer than the
CheckpointInterval, the application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointing in the Apache Flink Documentation .If
CheckpointConfiguration.ConfigurationTypeisDEFAULT, the application will use aMinPauseBetweenCheckpointsvalue of 5000, even if this value is set using this API or in application code.- See Also:
-
builder
-