SRGRetrievalStatus class

Progress of a retriever through a provider's resources.

Constructors

SRGRetrievalStatus(List<int> bytes)
factory

Properties

ARCHIVE_MAX_BYTES → int
The storage budget, bytes; 0 = unlimited or not stated.
no setter
ARCHIVE_RESERVED_BYTES → int
Bytes stored (or reserved) against ARCHIVE_MAX_BYTES so far.
no setter
archiveMaxBytes → int
no setter
archiveReservedBytes → int
no setter
BYTE_LENGTH → int
no setter
byteLength → int
no setter
COMPLETED_COUNT → int
Resources of the current discovery queue processed so far.
no setter
completedCount → int
no setter
ENABLED → bool
True when retrieval is turned on.
no setter
GENERATED_AT_MS → int
Unix milliseconds of this status; 0 = not stated.
no setter
generatedAtMs → int
no setter
hashCode → int
The hash code for this object.
no setterinherited
NEXT_OFFSET → int
no setter
nextOffset → int
no setter
NORMALIZED_RECORDS → int
Normalized SDS records produced from the retrieved resources (raw preservation produces none).
no setter
normalizedRecords → int
no setter
NOTE → String?
Human-readable detail.
no setter
QUEUE_CID → String?
CID of the stored discovery queue (an SRG with RESOURCES) the retriever works through; empty = none.
no setter
queueCid → String?
no setter
REMAINING_COUNT → int
Resources still to process (TOTAL_COUNT - COMPLETED_COUNT).
no setter
remainingCount → int
no setter
RESOURCE_URL → String?
The resource the status concerns, when it concerns one (e.g. a ProviderPageOnly answer): its URL, size and SHA-256 (lower-case hex).
no setter
resourceUrl → String?
no setter
RETRIEVED_COUNT → int
Resources fetched in the run that produced this status.
no setter
retrievedCount → int
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SCANNED_COUNT → int
For a paged pass over stored resources (rebuilding coverage from archived descriptors): items scanned in this page, items of a supported format among them, and the offset the next page starts at. STATE is Complete on the last page.
no setter
scannedCount → int
no setter
SHA256 → String?
no setter
SOURCE_ID → String?
SOURCE_ID of the provider.
no setter
sourceId → String?
no setter
STATE → srgRetrievalState
no setter
SUPPORTED_COUNT → int
no setter
supportedCount → int
no setter
TOTAL_COUNT → int
Resources in the current discovery queue; 0 = no queue or unknown.
no setter
totalCount → int
no setter

Methods

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

Operators

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

Constants

reader → const Reader<SRGRetrievalStatus>