DS3 .NET Software Development Kit  3.0.0
Provides access to the Spectra Logic DS3 API through .NET.
Ds3.Helpers.Strategys.ChunkStrategys.WriteStreamChunkStrategy Class Reference

The WriteStreamChunkStrategy will allocate chunks one at a time for each stream in the job and return the allocated blobs More...

Inheritance diagram for Ds3.Helpers.Strategys.ChunkStrategys.WriteStreamChunkStrategy:
Ds3.Helpers.Strategys.ChunkStrategys.IChunkStrategy

Public Member Functions

 WriteStreamChunkStrategy (Action< TimeSpan > wait)
 
IEnumerable< TransferItemGetNextTransferItems (IDs3Client client, MasterObjectList jobResponse)
 Allocate chunks using a specific strategy and returning allocated blobs More...
 
void CompleteBlob (Blob blob)
 Marks a blob as complete More...
 
void Stop ()
 Send a stop signal More...
 

Detailed Description

The WriteStreamChunkStrategy will allocate chunks one at a time for each stream in the job and return the allocated blobs

Member Function Documentation

void Ds3.Helpers.Strategys.ChunkStrategys.WriteStreamChunkStrategy.CompleteBlob ( Blob  blob)
inline

Marks a blob as complete

Parameters
blob

Implements Ds3.Helpers.Strategys.ChunkStrategys.IChunkStrategy.

IEnumerable<TransferItem> Ds3.Helpers.Strategys.ChunkStrategys.WriteStreamChunkStrategy.GetNextTransferItems ( IDs3Client  client,
MasterObjectList  jobResponse 
)
inline

Allocate chunks using a specific strategy and returning allocated blobs

Parameters
client
jobResponse
Returns

Implements Ds3.Helpers.Strategys.ChunkStrategys.IChunkStrategy.

void Ds3.Helpers.Strategys.ChunkStrategys.WriteStreamChunkStrategy.Stop ( )
inline