Terminology for temporarily diverting data from a stream
It's hard to find something when you don't know what he named.
I am buffering the stream of data points with a kind of toggle buffer (think of a garden hose with a valve): in one state ("true") I pass the data to a potential consumer. In another state ("false"), I keep these data points in the queue until I change to another state, after which I will send these data points to my consumer in order.
Do you have any suggestions on how to name the boolean property that controls this state? I was thinking about "on", "buffering", "closing", "delay", etc., and none of them particularly please me. I need to come up with a good name before I publish my class to potential "clients" (other programmers here). I can reverse the logic from true โ false if it makes more sense.
(edit: feel free to just refer to the property as a name without / get in it. I'm using Java, so this would be a Bean -style property with accessXXX / isXXX.)
(edit 2: it seems that the property name should, unless it becomes clearer, reflect the "true" state where data is passed transparently without delay.)
a source to share