Package com.pkgrove.pkgrovekit.storage
Class StorageLimits
-
- All Implemented Interfaces:
public final class StorageLimitsProvider size limits; workflows size parts/objects against THESE, never constants.
-
-
Field Summary
Fields Modifier and Type Field Description private final LongmaxObjectSizeBytesprivate final LongmaxPartSizeBytesprivate final LongminPartSizeBytesprivate final IntegermaxPartsPerUpload
-
Constructor Summary
Constructors Constructor Description StorageLimits(Long maxObjectSizeBytes, Long maxPartSizeBytes, Long minPartSizeBytes, Integer maxPartsPerUpload)
-
Method Summary
Modifier and Type Method Description final LonggetMaxObjectSizeBytes()final LonggetMaxPartSizeBytes()final LonggetMinPartSizeBytes()final IntegergetMaxPartsPerUpload()final static StorageLimitss3Baseline()Amazon S3's documented limits — the de-facto compatibility baseline. -
-
Method Detail
-
getMaxObjectSizeBytes
final Long getMaxObjectSizeBytes()
-
getMaxPartSizeBytes
final Long getMaxPartSizeBytes()
-
getMinPartSizeBytes
final Long getMinPartSizeBytes()
-
getMaxPartsPerUpload
final Integer getMaxPartsPerUpload()
-
s3Baseline
final static StorageLimits s3Baseline()
Amazon S3's documented limits — the de-facto compatibility baseline.
-
-
-
-