Showing:

Annotations
Diagrams
Instances
Model
Properties
Used by
Element CheckSteadyState
Annotations

https://kb.sos-berlin.com/display/PKB/YADE+Parameter+Reference+-+CheckSteadyState

References Notes

In some file transfer scenarios the recipient of a file does not know when the sender creates the file. In case of (very) large files the recipient may try to read the file before the sender has finished writing it. This can result in the recipient retrieving an incomplete file.

Including the CheckSteadyState parameter ensures that the file is checked at its reception point for completeness before starting the transfer.

Including the CheckSteadyState parameter ensures that the file is checked at its reception point for completeness before starting the transfer.

If the check of the steady state of one incoming file did not succeed successfully then no file will be transferred.

Note that this is not a very reliable approach as the recipient checks the date of last modification and the size of the file. If neither changes during a specified a period of time then the file is assumed to be complete. However, if transmission is terminated without the file being completely written, the network goes down or the processing speed of the file is slow, then the receiver will get a corrupted file.

The shorter the check interval is chosen the more likely it may happen that a file is detected as steady, although this was not yet finished writing.

Diagram
Diagram YADE_configuration_v1_0_xsd_Element_CheckSteadyStateInterval.tmp#CheckSteadyStateInterval YADE_configuration_v1_0_xsd_Element_CheckSteadyStateCount.tmp#CheckSteadyStateCount YADE_configuration_v1_0_xsd_Element_CheckSteadyStateErrorState.tmp#CheckSteadyStateErrorState
Properties
content complex
Used by
Model
Instance
<CheckSteadyState>
  <CheckSteadyStateInterval>{0,1}</CheckSteadyStateInterval>
  <CheckSteadyStateCount>{0,1}</CheckSteadyStateCount>
  <CheckSteadyStateErrorState>{0,1}</CheckSteadyStateErrorState>
</CheckSteadyState>