Package com.pkgrove.pkgrovekit.storage
Class MultipartTransfer.Options
-
- All Implemented Interfaces:
public final class MultipartTransfer.Options
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerpartSizeBytesprivate final Integerconcurrencyprivate final CancelTokencancelTokenprivate final BooleanchecksumPartsprivate final PutOptionsputprivate final Function2<Integer, Long, Unit>onProgress
-
Constructor Summary
Constructors Constructor Description MultipartTransfer.Options(Integer partSizeBytes, Integer concurrency, CancelToken cancelToken, Boolean checksumParts, PutOptions put, Function2<Integer, Long, Unit> onProgress)
-
Method Summary
Modifier and Type Method Description final IntegergetPartSizeBytes()final IntegergetConcurrency()final CancelTokengetCancelToken()final BooleangetChecksumParts()Per-part SHA-256, provider-verified where supported. final PutOptionsgetPut()final Function2<Integer, Long, Unit>getOnProgress()(partsUploaded, bytesUploaded) — log-safe progress, no key/data. -
-
Method Detail
-
getPartSizeBytes
final Integer getPartSizeBytes()
-
getConcurrency
final Integer getConcurrency()
-
getCancelToken
final CancelToken getCancelToken()
-
getChecksumParts
final Boolean getChecksumParts()
Per-part SHA-256, provider-verified where supported.
-
getPut
final PutOptions getPut()
-
getOnProgress
final Function2<Integer, Long, Unit> getOnProgress()
(partsUploaded, bytesUploaded) — log-safe progress, no key/data.
-
-
-
-