COSFetchConcurrent class

Constructors

COSFetchConcurrent({int chunkSize = 1024 * 1024 * 4, int concurrent = 10, required int totalSize, required Future<void> input(COSFetchChunk fetchChunk), required Future<void> output(COSFetchChunk fetchChunk)})

Properties

chunks List<COSFetchChunk>
getter/setter pair
chunkSize int
chunk 大小,默认 4MB
final
concurrent int
并发数
final
hashCode int
The hash code for this object.
no setterinherited
input Future<void> Function(COSFetchChunk fetchChunk)
final
output Future<void> Function(COSFetchChunk fetchChunk)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalSize int
总的 byte 大小
final

Methods

go() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited