DS3 .NET Software Development Kit
3.0.0
Provides access to the Spectra Logic DS3 API through .NET.
|
Public Member Functions | |
void | Match (Action< TimeSpan, MasterObjectList > success, Action< TimeSpan > retryAfter) |
Convenience overload if the client wants to throw a job gone exception if the job is gone. More... | |
T | Match< T > (Func< TimeSpan, MasterObjectList, T > success, Func< TimeSpan, T > retryAfter) |
Convenience overload if the client wants to throw a job gone exception if the job is gone. More... | |
abstract void | Match (Action< TimeSpan, MasterObjectList > success, Action jobGone, Action< TimeSpan > retryAfter) |
Calls success, jobGone, or retryAfter depending on which response type this actually is. More... | |
abstract T | Match< T > (Func< TimeSpan, MasterObjectList, T > success, Func< T > jobGone, Func< TimeSpan, T > retryAfter) |
Calls success, jobGone, or retryAfter depending on which response type this actually is. More... | |
Static Public Member Functions | |
static GetJobChunksReadyForClientProcessingSpectraS3Response | Success (TimeSpan retryAfter, MasterObjectList jobResponse) |
Creates a response object stating that the job has chunks available. More... | |
static GetJobChunksReadyForClientProcessingSpectraS3Response | RetryAfter (TimeSpan retryAfter) |
Creates a response object stating that there are no chunks available to process. More... | |
Properties | |
static GetJobChunksReadyForClientProcessingSpectraS3Response | JobGone [get] |
Creates a response object stating that the job does not exist. More... | |
|
inline |
Convenience overload if the client wants to throw a job gone exception if the job is gone.
success | |
retryAfter |
|
pure virtual |
Calls success, jobGone, or retryAfter depending on which response type this actually is.
success | The function to call if the response object is a "success". |
jobGone | The function to call if the response object is "jobGone". |
retryAfter | The function to call if the response object is "retryAfter". |
|
inline |
Convenience overload if the client wants to throw a job gone exception if the job is gone.
T |
success | |
retryAfter |
|
pure virtual |
Calls success, jobGone, or retryAfter depending on which response type this actually is.
success | The function to call if the response object is a "success". |
jobGone | The function to call if the response object is "jobGone". |
retryAfter | The function to call if the response object is "retryAfter". |
|
inlinestatic |
Creates a response object stating that there are no chunks available to process.
retryAfter | The amount of time to wait before asking again. |
|
inlinestatic |
Creates a response object stating that the job has chunks available.
retryAfter | The number of seconds to wait before performing the REST call again if the client already knows about all of the chunks provided. |
jobResponse | A job response with only the chunks that are available for the client. |
|
staticget |
Creates a response object stating that the job does not exist.