DS3 .NET Software Development Kit  3.0.0
Provides access to the Spectra Logic DS3 API through .NET.
Ds3.Calls.AllocateJobChunkSpectraS3Response Class Referenceabstract

Public Member Functions

void Match (Action< Objects > success, Action< TimeSpan > retryAfter)
 
Match< T > (Func< Objects, T > success, Func< TimeSpan, T > retryAfter)
 
abstract void Match (Action< Objects > success, Action< TimeSpan > retryAfter, Action chunkGone)
 Calls success, retryAfter, or chunkGone depending on which type of response this actually is. More...
 
abstract T Match< T > (Func< Objects, T > success, Func< TimeSpan, T > retryAfter, Func< T > chunkGone)
 Calls success, retryAfter, or chunkGone depending on which type of response this actually is. More...
 

Static Public Member Functions

static AllocateJobChunkSpectraS3Response Success (Objects jobObjectList)
 Creates a response object specifying the object list that was successfully (or already) allocated. More...
 
static AllocateJobChunkSpectraS3Response RetryAfter (TimeSpan retryAfter)
 Creates a response object specifying that the client should retry the request. More...
 

Properties

static AllocateJobChunkSpectraS3Response ChunkGone [get]
 Creates a response object specifying that the chunk no longer exists. More...
 

Member Function Documentation

abstract void Ds3.Calls.AllocateJobChunkSpectraS3Response.Match ( Action< Objects success,
Action< TimeSpan >  retryAfter,
Action  chunkGone 
)
pure virtual

Calls success, retryAfter, or chunkGone depending on which type of response this actually is.

Parameters
successThe function to call if this is a "success" instance.
retryAfterThe function to call if this is a "retryAfter" instance.
chunkGoneThe function to call if this is a "chunkGone" instance.
abstract T Ds3.Calls.AllocateJobChunkSpectraS3Response.Match< T > ( Func< Objects, T >  success,
Func< TimeSpan, T >  retryAfter,
Func< T >  chunkGone 
)
pure virtual

Calls success, retryAfter, or chunkGone depending on which type of response this actually is.

Parameters
successThe function to call if this is a "success" instance.
retryAfterThe function to call if this is a "retryAfter" instance.
chunkGoneThe function to call if this is a "chunkGone" instance.
Returns
What either success, retryAfter, or chunkGone return.
static AllocateJobChunkSpectraS3Response Ds3.Calls.AllocateJobChunkSpectraS3Response.RetryAfter ( TimeSpan  retryAfter)
inlinestatic

Creates a response object specifying that the client should retry the request.

Parameters
retryAfterThe amount of time that the client should wait before retrying.
Returns
The response instance.
static AllocateJobChunkSpectraS3Response Ds3.Calls.AllocateJobChunkSpectraS3Response.Success ( Objects  jobObjectList)
inlinestatic

Creates a response object specifying the object list that was successfully (or already) allocated.

Parameters
jobObjectListThe job objects that were allocated.
Returns
The response instance.

Property Documentation

AllocateJobChunkSpectraS3Response Ds3.Calls.AllocateJobChunkSpectraS3Response.ChunkGone
staticget

Creates a response object specifying that the chunk no longer exists.