We are using a push stream to process data change notifications against a
cached result set. Some of those notifications can result in directly
applying updates to the result set, while other will force us to invalidate
the cached result set.

When we do a requery, we want to make sure that any subsequent event sent
to the push stream can be cleared and ignore. Looking at endOfStream() or
close() doesn't seem to be the way to go. Only solution for now is to
switch to a new stream, but wondering if that is the right way to do it.

Regards,
Alain
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to