Base class inherited by both ChunkSource, for implementing the backend part of chunk sources that also have a frontend-part, as well as other chunk sources, such as the GenericFileSource, that has only a backend part.

Hierarchy

Properties

RPC_TYPE_ID: string

Should be set to a constant specifying the SharedObject type identifier on the prototype of final derived owner classes. It is not used on counterpart (non-owner) classes.

chunkManager: ChunkManager
chunks: Map<string, GenericSharedDataChunk<Uint64, undefined | DecodedMinishardIndex>>
credentialsProvider: undefined | CredentialsProvider<any>
disposedStacks: any
freeChunks: Chunk[] = ...
isOwner: undefined | boolean
refCount: number = 1
referencedGeneration: number
rpc: null | RPC = null
rpcId: null | number = null
sourceQueueLevel: number = 0

sourceQueueLevel must be greater than the sourceQueueLevel of any ChunkSource whose download method depends on chunks from this source. A normal ChunkSource with no other dependencies should have a level of 0.

statistics: Float64Array = ...
unreferencedGeneration: number
wasDisposed: undefined | boolean

Methods

Generated using TypeDoc