Google Cloud Storage C++ Client  1.42.0
A C++ Client Library for Google Cloud Storage
Public Member Functions | List of all members
google::cloud::storage::MinStreamSize Class Reference

A parameter type indicating the minimum stream size to ParallelUploadFile. More...

#include <google/cloud/storage/parallel_upload.h>

Public Member Functions

 MinStreamSize (std::uintmax_t value)
 
std::uintmax_t value () const
 

Detailed Description

A parameter type indicating the minimum stream size to ParallelUploadFile.

If ParallelUploadFile, receives this option it will attempt to make sure that every shard is at least this long. This might not apply to the last shard because it will be the remainder of the division of the file.

Definition at line 61 of file parallel_upload.h.

Constructor & Destructor Documentation

◆ MinStreamSize()

google::cloud::storage::MinStreamSize::MinStreamSize ( std::uintmax_t  value)
inlineexplicit

Definition at line 63 of file parallel_upload.h.

Member Function Documentation

◆ value()

std::uintmax_t google::cloud::storage::MinStreamSize::value ( ) const
inline

Definition at line 64 of file parallel_upload.h.