class CheckpointOptions implements Serializable {

	public boolean needsAlignment() {
		return isExactlyOnceMode() && (getCheckpointType().isSavepoint() || !isUnalignedCheckpoint());
	}

	@VisibleForTesting public  CheckpointOptions(
			CheckpointType checkpointType,
			CheckpointStorageLocationReference targetLocation);
	public  CheckpointOptions(
			CheckpointType checkpointType,
			CheckpointStorageLocationReference targetLocation,
			boolean isExactlyOnceMode,
			boolean isUnalignedCheckpoint);

}