@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckpointConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance in the Apache Flink Documentation.
Constructor and Description |
---|
CheckpointConfiguration() |
Modifier and Type | Method and Description |
---|---|
CheckpointConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCheckpointingEnabled()
Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.
|
Long |
getCheckpointInterval()
Describes the interval in milliseconds between checkpoint operations.
|
String |
getConfigurationType()
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
|
Long |
getMinPauseBetweenCheckpoints()
Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation
can start.
|
int |
hashCode() |
Boolean |
isCheckpointingEnabled()
Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCheckpointingEnabled(Boolean checkpointingEnabled)
Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.
|
void |
setCheckpointInterval(Long checkpointInterval)
Describes the interval in milliseconds between checkpoint operations.
|
void |
setConfigurationType(String configurationType)
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
|
void |
setMinPauseBetweenCheckpoints(Long minPauseBetweenCheckpoints)
Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation
can start.
|
String |
toString()
Returns a string representation of this object.
|
CheckpointConfiguration |
withCheckpointingEnabled(Boolean checkpointingEnabled)
Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.
|
CheckpointConfiguration |
withCheckpointInterval(Long checkpointInterval)
Describes the interval in milliseconds between checkpoint operations.
|
CheckpointConfiguration |
withConfigurationType(ConfigurationType configurationType)
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
|
CheckpointConfiguration |
withConfigurationType(String configurationType)
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
|
CheckpointConfiguration |
withMinPauseBetweenCheckpoints(Long minPauseBetweenCheckpoints)
Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation
can start.
|
public void setConfigurationType(String configurationType)
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
configurationType
- Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.ConfigurationType
public String getConfigurationType()
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
ConfigurationType
public CheckpointConfiguration withConfigurationType(String configurationType)
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
configurationType
- Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.ConfigurationType
public CheckpointConfiguration withConfigurationType(ConfigurationType configurationType)
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
configurationType
- Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.ConfigurationType
public void setCheckpointingEnabled(Boolean checkpointingEnabled)
Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.
checkpointingEnabled
- Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.public Boolean getCheckpointingEnabled()
Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.
public CheckpointConfiguration withCheckpointingEnabled(Boolean checkpointingEnabled)
Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.
checkpointingEnabled
- Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.public Boolean isCheckpointingEnabled()
Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.
public void setCheckpointInterval(Long checkpointInterval)
Describes the interval in milliseconds between checkpoint operations.
checkpointInterval
- Describes the interval in milliseconds between checkpoint operations.public Long getCheckpointInterval()
Describes the interval in milliseconds between checkpoint operations.
public CheckpointConfiguration withCheckpointInterval(Long checkpointInterval)
Describes the interval in milliseconds between checkpoint operations.
checkpointInterval
- Describes the interval in milliseconds between checkpoint operations.public void setMinPauseBetweenCheckpoints(Long minPauseBetweenCheckpoints)
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.
minPauseBetweenCheckpoints
- 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.public Long 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.
CheckpointInterval
, the
application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointing in the Apache Flink Documentation.public CheckpointConfiguration withMinPauseBetweenCheckpoints(Long minPauseBetweenCheckpoints)
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.
minPauseBetweenCheckpoints
- 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.public String toString()
toString
in class Object
Object.toString()
public CheckpointConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.