Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Implement input policies #4

Open
j-stephan opened this issue Oct 20, 2016 · 0 comments
Open

Implement input policies #4

j-stephan opened this issue Oct 20, 2016 · 0 comments
Assignees
Milestone

Comments

@j-stephan
Copy link
Contributor

The user currently has the option to set an input limit on stages. Once this limit is reached thread execution is blocked until the internal buffer has room for more objects.

There are circumstances in which this behaviour might be undesirable. ddrf should therefore offer the following three policies:

  • block (default): The current behaviour. Block thread execution until there is room for another object.
  • discard: If the buffer is full, discard the current object.
  • overwrite: If the buffer is full, delete the oldest object and push the current object.
@j-stephan j-stephan self-assigned this Nov 25, 2016
@j-stephan j-stephan added this to the 0.3 milestone Dec 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant