DS3 .NET Software Development Kit
3.0.0
Provides access to the Spectra Logic DS3 API through .NET.
|
Public Member Functions | |
void | Match (Action< Objects > success, Action< TimeSpan > retryAfter) |
T | 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... | |
|
pure virtual |
Calls success, retryAfter, or chunkGone depending on which type of response this actually is.
success | The function to call if this is a "success" instance. |
retryAfter | The function to call if this is a "retryAfter" instance. |
chunkGone | The function to call if this is a "chunkGone" instance. |
|
pure virtual |
Calls success, retryAfter, or chunkGone depending on which type of response this actually is.
success | The function to call if this is a "success" instance. |
retryAfter | The function to call if this is a "retryAfter" instance. |
chunkGone | The function to call if this is a "chunkGone" instance. |
|
inlinestatic |
Creates a response object specifying that the client should retry the request.
retryAfter | The amount of time that the client should wait before retrying. |
|
inlinestatic |
Creates a response object specifying the object list that was successfully (or already) allocated.
jobObjectList | The job objects that were allocated. |
|
staticget |
Creates a response object specifying that the chunk no longer exists.