set abstract method
Set the current status file, if status file have not been changed since last time it was read.
Returns true
, if the status file has not changed since last time get
was called, and the status file was successful updated. If the status
file was changed, this should return false
and avoid overwriting the
status file.
If no status file has ever been written, it should be overwritten and
this should return true
.
Note, if implemented on top of Google Cloud Storage or similar this
method should use a conditional PUT
request, only updating the blob if
the etag
is unchanged from last time it was read.
Implementation
Future<bool> set(List<int> status);